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

Error with youtube-dl with video http://www.youtube.com/watch?v=6hzrDeceEKc #1655

Closed
johnmcauley opened this issue Oct 26, 2013 · 2 comments
Closed

Comments

@johnmcauley
Copy link

@johnmcauley johnmcauley commented Oct 26, 2013

Hey guys,

I am using the latest version: youtube-dl is up-to-date (2013.10.23.2).

The server is in the states.

But youtube-dl is throwing the following error with http://www.youtube.com/watch?v=6hzrDeceEKc (using verbose):
Removing the -f 34 flag works though.


youtube-dl -o ./test."%(ext)s" -f 34 -x --audio-format 'wav' -v http://www.youtube.com/watch?v=6hzrDeceEKc
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-o', './test.%(ext)s', '-f', '34', '-x', '--audio-format', 'wav', '-v', 'http://www.youtube.com/watch?v=6hzrDeceEKc']
[debug] youtube-dl version 2013.10.23.2
[debug] Python version 2.7.3 - Linux-3.8.13-xxxx-grs-ipv6-64-x86_64-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
[youtube] Setting language
[youtube] 6hzrDeceEKc: Downloading video webpage
[youtube] 6hzrDeceEKc: Downloading video info webpage
[youtube] 6hzrDeceEKc: 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 "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 342, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 121, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1472, in _real_extract
video_url_list = self._get_video_url_list(url_map)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1238, 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.


Any ideas?

Thanks,

j

@phihag
Copy link
Contributor

@phihag phihag commented Oct 28, 2013

The video in question is not available in format 34:

$ youtube-dl --list-formats http://www.youtube.com/watch?v=6hzrDeceEKc
[youtube] Setting language
[youtube] 6hzrDeceEKc: Downloading video webpage
[youtube] 6hzrDeceEKc: Downloading video info webpage
[youtube] 6hzrDeceEKc: Extracting video information
Available formats:
18      :       mp4     [360x640]
43      :       webm    [360x640]
5       :       flv     [240x400]
36      :       3gp     [240x320]
17      :       3gp     [144x176]
133     :       mp4     [240p] (DASH Video)
160     :       mp4     [192p] (DASH Video)
141     :       m4a     [256k] (DASH Audio)
172     :       webm    [256k] (DASH Audio)
140     :       m4a     [128k] (DASH Audio)
171     :       webm    [128k] (DASH Audio)
139     :       m4a     [48k] (DASH Audio)

Therefore, everything is working just fine - you explicitly requested format 34 and no other. To request the first of multiple formats, pass in something like -f 34/18/mp4/best. We should mark this error as expected.

@phihag phihag closed this Oct 28, 2013
phihag added a commit that referenced this issue Oct 28, 2013
@johnmcauley
Copy link
Author

@johnmcauley johnmcauley commented Oct 28, 2013

Great, thanks for the reply.

On 28 October 2013 10:44, Philipp Hagemeister notifications@github.comwrote:

The video in question is not available in format 34:

$ youtube-dl --list-formats http://www.youtube.com/watch?v=6hzrDeceEKc
[youtube] Setting language
[youtube] 6hzrDeceEKc: Downloading video webpage
[youtube] 6hzrDeceEKc: Downloading video info webpage
[youtube] 6hzrDeceEKc: Extracting video information
Available formats:
18 : mp4 [360x640]
43 : webm [360x640]
5 : flv [240x400]
36 : 3gp [240x320]
17 : 3gp [144x176]
133 : mp4 [240p](DASH Video)
160 : mp4 [192p](DASH Video)
141 : m4a [256k](DASH Audio)
172 : webm [256k](DASH Audio)
140 : m4a [128k](DASH Audio)
171 : webm [128k](DASH Audio)
139 : m4a [48k](DASH Audio)

Therefore, everything is working just fine - you explicitly requested
format 34 and no other. To request the first of multiple formats, pass in
something like -f 34/18/mp4/best. We should mark this error as expected.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1655#issuecomment-27201952
.

John McAuley

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.