-
Notifications
You must be signed in to change notification settings - Fork 10k
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
[nrk:series] No video formats found / 404 not found #24221
Comments
Spent a few days looking into it, for me it looks like Akamai now offers a new way to serve manifests, which common._extract_akamai_formats cannot find (I had no luck either with Developer console in Chrome). youtube-dl/youtube_dl/extractor/common.py Lines 2562 to 2583 in 7947a1f
This show is the only one I found on NRK that behaves like this, I have checked other shows with similar traits, like geo-block (this one shouldn't be), and same production year (2020). fargerik-psapi.nrk.no is only used to personalize the site, looking at the indexed docs for the api. |
If it is useful, including the part that specifies the episode in the URL makes the download work for episodes 3-8, but fails for 1+2 |
It didn't exactly help me, but I did manage to get it to download those two episodes. However I cant find any value in the api to differentiate the working ones, vs the "broken" ones. It looks like NRK did something wrong on the two first episodes, which also can be confirmed when looking at the data object created in nrk.py#34, and the The URLs from the CDN looks to be split on availability, worldwide and Norway, looking at the start of the url.
Adding a regular expression to replace wo to no, fixes it for these two episodes, but breaks anything that's available worldwide, in other words, the rest of the season. I have not found any indicator to determine if this replacement is necessary before attempting to download. Any "fix" by me will be crude, and depend on a try/expect kinda deal. To get the two episodes I added a new line after line 62 in nrk.py. Either this is a external-bugs or a wont-fix, unless someone well more versed in the project can figure out a more elegant way. |
Can't see why the original method don't work for some streams. Bonus: provides 1080p quality Closes #24221
Checklist
Verbose log
Description
I see mentions of a fargerik-psapi.nrk.no in some dumped files.
The text was updated successfully, but these errors were encountered: