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.
Intermittent error downloading heavy requested video #1556
Comments
|
About the 403 error, I can't reproduce it, but the output you posted seems to be caused because youtube doesn't always serve the same formats, for example in https://travis-ci.org/rg3/youtube-dl/jobs/12130890#L377 it doesn't serve the best mp4 format. |
Happens sometimes (say 1 every 10 try) while downloading a heavy requested video with the latest version of software. On 9 on 10 times the error is 403 - Forbidden
$ ./youtube-dl --verbose -f 37 http://www.youtube.com/watch?v=NoLpRKEDVAQ
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-f', '37', 'http://www.youtube.com/watch?v=NoLpRKEDVAQ']
[debug] youtube-dl version 2013.10.04
[debug] Python version 2.7.4 - Linux-3.8.0-32-generic-x86_64-with-Ubuntu-13.04-raring
[debug] Proxy map: {}
[youtube] Setting language
[youtube] NoLpRKEDVAQ: Downloading video webpage
[youtube] NoLpRKEDVAQ: Downloading video info webpage
[youtube] NoLpRKEDVAQ: Extracting video information
ERROR: requested format not available; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 335, in extract_info
ie_result = ie.extract(url)
File "./youtube-dl/youtube_dl/extractor/common.py", line 103, in extract
return self._real_extract(url)
File "./youtube-dl/youtube_dl/extractor/youtube.py", line 1462, in _real_extract
video_url_list = self._get_video_url_list(url_map)
File "./youtube-dl/youtube_dl/extractor/youtube.py", line 1234, in _get_video_url_list
raise ExtractorError(u'requested format not available')
ExtractorError: requested format not available; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.