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 channel download 404 #2742

Closed
canavan opened this issue Apr 13, 2014 · 2 comments
Closed

youtube channel download 404 #2742

canavan opened this issue Apr 13, 2014 · 2 comments

Comments

@canavan
Copy link

@canavan canavan commented 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
[...]

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented 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.

@canavan
Copy link
Author

@canavan canavan commented 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.

@phihag phihag closed this Apr 21, 2014
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
3 participants
You can’t perform that action at this time.