Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP Error 404 only when specifying different video qualities by setting the iTag #1090

Closed
ledzeppelin opened this issue Jul 20, 2013 · 1 comment

Comments

@ledzeppelin
Copy link

@ledzeppelin ledzeppelin commented Jul 20, 2013

Here the download goes successfully
$ youtube-dl "http://www.youtube.com/watch?v=uxg5xK45g7E" [youtube] Setting language [youtube] uxg5xK45g7E: Downloading video webpage [youtube] uxg5xK45g7E: Downloading video info webpage [youtube] uxg5xK45g7E: Extracting video information [youtube] uxg5xK45g7E: Encrypted signatures detected. [download] Destination: Makeshift Prodigy - Chasing Daylight (Acoustic) [Official Audio]-uxg5xK45g7E.mp4 [download] 100.0% of 141.19MiB at 3.47MiB/s ETA 00:00

And the iTag 18 exists
$ youtube-dl --list-formats "http://www.youtube.com/watch?v=uxg5xK45g7E" [youtube] Setting language [youtube] uxg5xK45g7E: Downloading video webpage [youtube] uxg5xK45g7E: Downloading video info webpage [youtube] uxg5xK45g7E: Extracting video information [youtube] uxg5xK45g7E: Encrypted signatures detected. Available formats: 37 : mp4 [1080x1920] 46 : webm [1080x1920] 22 : mp4 [720x1280] 45 : webm [720x1280] 35 : flv [480x854] 44 : webm [480x854] 34 : flv [360x640] 18 : mp4 [360x640] 43 : webm [360x640] 5 : flv [240x400] 17 : mp4 [144x176]

But I can't download it
$ youtube-dl -F 18 "http://www.youtube.com/watch?v=uxg5xK45g7E" [youtube] Setting language [youtube] 18: Downloading video webpage ERROR: Unable to download video webpage: HTTP Error 404: Not Found; 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.

Here's the verbose output
$ youtube-dl -F 18 "http://www.youtube.com/watch?v=uxg5xK45g7E" -v [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-F', '18', 'http://www.youtube.com/watch?v=uxg5xK45g7E', '-v'] [debug] youtube-dl version 2013.07.19 [debug] Python version 2.7.3 - Linux-3.2.0-31-virtual-x86_64-with-Ubuntu-12.04-precise [debug] Proxy map: {} [youtube] Setting language [youtube] 18: Downloading video webpage ERROR: Unable to download video webpage: HTTP Error 404: Not Found; 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. Traceback (most recent call last): File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 416, in _real_extract video_webpage_bytes = compat_urllib_request.urlopen(request).read() File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 406, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 519, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 444, in error return self._call_chain(*args) File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 404: Not Found Traceback (most recent call last): File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 312, in extract_info ie_result = ie.extract(url) File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 96, in extract return self._real_extract(url) File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 418, in _real_extract raise ExtractorError(u'Unable to download video webpage: %s' % compat_str(err)) ExtractorError: Unable to download video webpage: HTTP Error 404: Not Found; 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.

@phihag
Copy link
Contributor

@phihag phihag commented Jul 20, 2013

-F lists all formats, so you instruct youtube-dl to list all formats on the URL 18. Instead, use

youtube-dl -f 18 "http://www.youtube.com/watch?v=uxg5xK45g7E" -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.