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.
learner.org Error 403: #25022
learner.org Error 403: #25022
Comments
|
For what it's worth, here's a log when I used --rm-cache-dir:
If I use Chrome developer tools and use the url in playlist[0].sources[0].file I am able to make more progess but it always fails with An unexpected TLS handshake packet was received.. This log is from the best run I've had so far, it captured all but the last couple of minutes of video, but no audio:
|
|
Perhaps the error message from Ubuntu is more helpful:
|
|
The download worked when I ran youtube-dl on Ubuntu and used the link in the playlist JSON (found in the first XHR result in Chrome Developer Tools). So there appear to be two issues:
|
Checklist
Verbose log
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-f', 'bestvideo+bestaudio/best', '--cookies', './cookies.txt', 'https://www.learner.org/series/french-in-action/transportation-and-travel-ii/']
[debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
[debug] youtube-dl version 2020.03.24
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-50911-g9efcfbe
[debug] Proxy map: {}
[generic] transportation-and-travel-ii: Requesting header
WARNING: Falling back on generic information extractor.
[generic] transportation-and-travel-ii: Downloading webpage
[generic] transportation-and-travel-ii: Extracting information
[download] Downloading playlist: Transportation and Travel II - Annenberg Learner
[generic] playlist Transportation and Travel II - Annenberg Learner: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[JWPlatform] 2rbFjnOK: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpjwbwqymm\build\youtube_dl\extractor\common.py", line 627, in _request_webpage
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpjwbwqymm\build\youtube_dl\YoutubeDL.py", line 2238, in urlopen
File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
Description
This worked as of August 2019. I've downloaded cookies. I've tried clearing the cache with --rm-cache-dir.