Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Site-support-request/nate] Add new extractor #30236

Open
Hyeeji opened this issue Nov 13, 2021 · 4 comments · May be fixed by #30330
Open

[Site-support-request/nate] Add new extractor #30236

Hyeeji opened this issue Nov 13, 2021 · 4 comments · May be fixed by #30330
Labels
site-support-request Add extractor(s) for a new domain

Comments

@Hyeeji
Copy link

Hyeeji commented Nov 13, 2021

Checklist

  • [ x ] I'm reporting a new site support request
  • [ x ] I've verified that I'm running youtube-dl version 2021.06.06
  • [ x ] I've checked that all provided URLs are alive and playable in a browser
  • [ x ] I've checked that none of provided URLs violate any copyrights
  • [ x ] I've searched the bugtracker for similar site support requests including closed ones

Example URLs

Description

@Hyeeji Hyeeji added the site-support-request Add extractor(s) for a new domain label Nov 13, 2021
@dirkf
Copy link
Contributor

dirkf commented Nov 13, 2021

This is another NextJS/React site and all the required information is in JSON inside the <script id="__NEXT_DATA__" type="application/json"> element (together with public metadata in the <head>).

@Hyeeji
Copy link
Author

Hyeeji commented Nov 15, 2021

Ok, I'll check. Thank you :)

@aaron-tan
Copy link
Contributor

aaron-tan commented Aug 18, 2023

Hi I'm having a look at this site and I could not see any obvious video URL inside the <script id="__NEXT_DATA__" element mentioned above. After poking around a bit with an intercept proxy and React Devtools I found that one can access the video URL through the smcUriList dictionary element but this seems to be generated on the fly with JavaScript. There doesn't seem to be an obvious JSON that can be extracted to get this URL list.

@dirkf is there a way to run/deal with JavaScript code in Youtube-dl? If there is could you point me to some examples so I can investigate further?

Edit: I did a search and there's already a PR for this. #30330

@dirkf dirkf linked a pull request Feb 13, 2023 that will close this issue
11 tasks
@dirkf
Copy link
Contributor

dirkf commented Aug 31, 2023

Yes, and also the yt-dlp extractor derived from it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-support-request Add extractor(s) for a new domain
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants