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.
Download from funk.net fails with HTTP Error 403: Forbidden / HTTP Error 400: Bad Request #24309
Comments
|
Meanwhile I had time to do some debugging. The cause of the above problem is that funk.net has started to use Token Authentication (https://learn.akamai.com/en-us/webhelp/adaptive-media-delivery/adaptive-media-delivery-implementation-guide/GUID-740A5744-09DA-4763-A652-CBDDE5CC0133.html). However, now I've encountered another issue: ffmpeg fails to merge video and audio files:
I think fixing this should be straightforward, but I don't know if the fix should go to the same merge request? |
|
I've got a fix for the ffmpeg issue (Malformed AAC bitstream) as well. Because it's only loosely related to the download problem, I've committed it to a different branch and I'll create a second pull request. |
|
@yeeeha update FFmpeg. |
|
@remitamine: You're right. After updating ffmpeg to version 4.2.2 the Malformed AAC bitstream error is gone, so my workaround is unnecessary. Thank you. Please still consider my pull request #24488 fixing the original download issue. |
|
My pull request #24488 won't be accepted. Sorry to say it, but trying to collaborate on this project really gives you a PITA... |
|
@yeeeha Thank you for your work. It seems astonishing hard to at least just point out the line numbers where the presumed code duplication might be. |
Checklist
Verbose log
Description
The video https://www.funk.net/channel/doctor-who-1164/journeys-end-ov-515545/doctor-who-staffel-4-ov-2473 plays in a browser (Firefox) without problems, but
youtube-dlfails to download m3u8 information, MPD & ISM manifests with HTTP Error 403: Forbidden.About 3 weeks ago I didn't experience any problems downloading videos from this site. Additionally, the problem only seems to occur when the location is nx-d09.akamaized.net like
Other videos, e.g. https://www.funk.net/channel/true-demon-12035/camping-im-wald-nimmt-fuerchterliches-ende-01-1616275/true-demon-alle-folgen-4971 from a different location funk-01.akamaized.net can still be downloaded:
Thank you for your work.