Getting a 403 forbidden for Youtube #983

Closed
opened 2026-02-20 22:03:19 -05:00 by deekerman · 1 comment
Owner

Originally created by @bkvirendra on GitHub (Aug 16, 2013).

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)

Originally created by @bkvirendra on GitHub (Aug 16, 2013). 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)
Author
Owner

@jaimeMF commented on GitHub (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 commented on GitHub (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_kZDvwofHY`will work.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#983
No description provided.