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

youtube-dl said to report... Can't download video #2495

Closed
ssefick opened this issue Mar 2, 2014 · 1 comment
Closed

youtube-dl said to report... Can't download video #2495

ssefick opened this issue Mar 2, 2014 · 1 comment

Comments

@ssefick
Copy link

@ssefick ssefick commented Mar 2, 2014

youtube-dl -F http://www.youtube.com/results?search_query=making+mustard
[download] Downloading playlist: results
[youtube:user] results: Downloading video ids from 1 to 51
ERROR: Unable to download webpage: HTTP Error 403: Forbidden; 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.
ssefick@sefick:~$ youtube-dl -F --verbose http://www.youtube.com/results?search_query=making+mustard
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Command-line args: ['-F', '--verbose', 'http://www.youtube.com/results?search_query=making+mustard']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.28
[debug] Python version 2.6.6 - Linux-3.13.2-1.el6.elrepo.x86_64-x86_64-with-redhat-6.5-Carbon
[debug] Proxy map: {}
[download] Downloading playlist: results
[youtube:user] results: Downloading video ids from 1 to 51
ERROR: Unable to download webpage: HTTP Error 403: Forbidden; 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.
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 191, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1157, in urlopen
return self._opener.open(req)
File "/usr/lib64/python2.6/urllib2.py", line 397, in open
response = meth(req, response)
File "/usr/lib64/python2.6/urllib2.py", line 510, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.6/urllib2.py", line 435, in error
return self._call_chain(_args)
File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
result = func(_args)
File "/usr/lib64/python2.6/urllib2.py", line 518, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

@phihag phihag closed this in c9ae7b9 Mar 4, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Mar 4, 2014

Thank you for the report. Support for Youtube search URLs has been added in version 2014.03.04. Type sudo youtube-dl -U to update. Note that there is also a more efficient and better search interface - you can simply type youtube-dl 'ytsearch5:making mustard' to get the top 5 videos.

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.