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.
HTTP Error 403: Forbidden when trying to download playlists from https://learning.oreilly.com/ #23169
Comments
|
I got it working now, thanks taking the time to confirm it.
The endpoint that youtube-dl hits was:
I fixed it by creating a new trial account, and using that. I also used Firefox to get the cookies.txt file this time, which may also have helped. |
Checklist
Verbose log
Description
When trying to download a playlist (such as the example above found in https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/extractor/safari.py), I get the message "HTTP Error 403: Forbidden". This happens in both Linux and Windows. The video requires an account (free is fine), so maybe that's part of the issue. There was a previous ticket to fix authentication here: #22184, but downloading that older build (https://github.com/ytdl-org/youtube-dl/releases/tag/2019.09.01) gives the same behaviour.
Downloading an individual video is fine, but just not a playlist.
Also of note is when downloading an individual video, if I use basic authentication (username/password), then I get the following error:
This doesn't happen when using cookies.