Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[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. |
Checklist
Verbose log
Description
I see mentions of a fargerik-psapi.nrk.no in some dumped files.