youtube channel download 404 #2162

Closed
opened 2026-02-21 00:15:35 -05:00 by deekerman · 2 comments
Owner

Originally created by @canavan on GitHub (Apr 13, 2014).

youtube-dl fails to download a complete youtube channel, while the same URL can be used in a browser. Downloading the channel via another URL succeeds:

$ youtube-dl --verbose http://www.youtube.com/User/keithbarry
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.youtube.com/User/keithbarry']
[debug] Encodings: locale ISO8859-1, fs ISO8859-1, out ISO8859-1, pref ISO8859-1
[debug] youtube-dl version 2014.04.13
[debug] Python version 2.7.6 - IRIX64-6.5-IP35-mips-n32bit-ELF
[debug] Proxy map: {}
[download] Downloading playlist: User
[youtube:user] User: 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/nekoware/bin/youtube-dl/youtube_dl/extractor/common.py", line 194, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/nekoware/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1211, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/nekoware/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/nekoware/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/nekoware/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/nekoware/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/nekoware/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

This one works:
$ youtube-dl --verbose http://www.youtube.com/user/keithbarr
yvideos/videos
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.youtube.com/user/keithbarryvideos/videos']
[debug] Encodings: locale ISO8859-1, fs ISO8859-1, out ISO8859-1, pref ISO8859-1
[debug] youtube-dl version 2014.04.13
[debug] Python version 2.7.6 - IRIX64-6.5-IP35-mips-n32bit-ELF
[debug] Proxy map: {}
[download] Downloading playlist: keithbarryvideos
[youtube:user] keithbarryvideos: Downloading video ids from 1 to 51
[youtube:user] keithbarryvideos: Downloading video ids from 51 to 101
[youtube:user] playlist keithbarryvideos: Downloading 62 videos
[download] Downloading video #1 of 62
[youtube] Setting language
[youtube] XjDhOcOZGUo: Downloading webpage
[youtube] XjDhOcOZGUo: Downloading video info webpage
[youtube] XjDhOcOZGUo: Extracting video information
[download] Destination: Brand New Tour-XjDhOcOZGUo.mp4
[download] 100% of 1.42MiB in 00:31
[download] Downloading video #2 of 62
[youtube] LJjZ64Mt-wU: Downloading webpage
[youtube] LJjZ64Mt-wU: Downloading video info webpage
[youtube] LJjZ64Mt-wU: Extracting video information
[...]

Originally created by @canavan on GitHub (Apr 13, 2014). youtube-dl fails to download a complete youtube channel, while the same URL can be used in a browser. Downloading the channel via another URL succeeds: $ youtube-dl --verbose http://www.youtube.com/User/keithbarry [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', 'http://www.youtube.com/User/keithbarry'] [debug] Encodings: locale ISO8859-1, fs ISO8859-1, out ISO8859-1, pref ISO8859-1 [debug] youtube-dl version 2014.04.13 [debug] Python version 2.7.6 - IRIX64-6.5-IP35-mips-n32bit-ELF [debug] Proxy map: {} [download] Downloading playlist: User [youtube:user] User: 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/nekoware/bin/youtube-dl/youtube_dl/extractor/common.py", line 194, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/nekoware/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1211, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/nekoware/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/usr/nekoware/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/usr/nekoware/lib/python2.7/urllib2.py", line 448, in error return self._call_chain(_args) File "/usr/nekoware/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(_args) File "/usr/nekoware/lib/python2.7/urllib2.py", line 531, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) This one works: $ youtube-dl --verbose http://www.youtube.com/user/keithbarr yvideos/videos [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', 'http://www.youtube.com/user/keithbarryvideos/videos'] [debug] Encodings: locale ISO8859-1, fs ISO8859-1, out ISO8859-1, pref ISO8859-1 [debug] youtube-dl version 2014.04.13 [debug] Python version 2.7.6 - IRIX64-6.5-IP35-mips-n32bit-ELF [debug] Proxy map: {} [download] Downloading playlist: keithbarryvideos [youtube:user] keithbarryvideos: Downloading video ids from 1 to 51 [youtube:user] keithbarryvideos: Downloading video ids from 51 to 101 [youtube:user] playlist keithbarryvideos: Downloading 62 videos [download] Downloading video #1 of 62 [youtube] Setting language [youtube] XjDhOcOZGUo: Downloading webpage [youtube] XjDhOcOZGUo: Downloading video info webpage [youtube] XjDhOcOZGUo: Extracting video information [download] Destination: Brand New Tour-XjDhOcOZGUo.mp4 [download] 100% of 1.42MiB in 00:31 [download] Downloading video #2 of 62 [youtube] LJjZ64Mt-wU: Downloading webpage [youtube] LJjZ64Mt-wU: Downloading video info webpage [youtube] LJjZ64Mt-wU: Extracting video information [...]
Author
Owner

@jaimeMF commented on GitHub (Apr 14, 2014):

The first one redirects me to https://www.youtube.com/user/GoodSnacksTakeTime (where did you get the url from?), if I use https://www.youtube.com/user/keithbarry it says that the channel doesn't exist.
I think that https://www.youtube.com/user/keithbarry and http://www.youtube.com/user/keithbarryvideos are different users, that's why they get different results.

@jaimeMF commented on GitHub (Apr 14, 2014): The first one redirects me to https://www.youtube.com/user/GoodSnacksTakeTime (where did you get the url from?), if I use https://www.youtube.com/user/keithbarry it says that the channel doesn't exist. I think that https://www.youtube.com/user/keithbarry and http://www.youtube.com/user/keithbarryvideos are different users, that's why they get different results.
Author
Owner

@canavan commented on GitHub (Apr 21, 2014):

You're correct, they are different users. I have no Idea where I got the first link from, I'd have thought it was the guy's official website. Please close this issue.

@canavan commented on GitHub (Apr 21, 2014): You're correct, they are different users. I have no Idea where I got the first link from, I'd have thought it was the guy's official website. Please close this issue.
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-ytdl-org#2162
No description provided.