Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
youtube channel download 404 #2742
Comments
|
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. |
|
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. |
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
[...]