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

Getting a 403 forbidden for Youtube #1251

Closed
bkvirendra opened this issue Aug 16, 2013 · 1 comment
Closed

Getting a 403 forbidden for Youtube #1251

bkvirendra opened this issue Aug 16, 2013 · 1 comment

Comments

@bkvirendra
Copy link

Trying to download http://www.youtube.com/watch?v=E_kZDvwofHY&list=WLNozK-HB4MXv5jPpZisEX760ikd1ESsXv

But when I remove the list parameter it works fine.

Gives me a 403:

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.youtube.com/watch?v=E_kZDvwofHY&list=WLNozK-HB4MXv5jPpZisEX760ikd1ESsXv', '--verbose']
[debug] youtube-dl version 2013.08.15
[debug] Python version 2.7.3 - Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
[youtube:playlist] WLNozK-HB4MXv5jPpZisEX760ikd1ESsXv: Downloading page #1
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/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 121, in _request_webpage
return compat_urllib_request.urlopen(url_or_request)
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)

@jaimeMF
Copy link
Collaborator

jaimeMF commented Aug 21, 2013

youtube-dl tries to download the playlist, which is private (see #755), using youtube-dl http://www.youtube.com/watch?v=E_kZDvwofHYwill work.

@jaimeMF jaimeMF closed this as completed Aug 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants