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.
ytuser:[channel name] gives 404 error #5646
Comments
|
Note: i subsequently found that youtube-dl works ok when the channel / user has a 'short name' like: https://www.youtube.com/user/adb024/videos then the command but some of the channels/users I look at do not have a short name..(see my first post for an example) |
|
Which version were you using? Can you post the command and the output with the |
|
Hi JamieMF, it was working for about a year, until Youtube changed something, I think! I started getting a video from youtube entitled "devicesupport" and a little after that, it stopped downloading. So I guess it would be useless to post a failed attempt by my old version (youtube-dl-2014.11.21 ), but if it's useful i will do it. Let me know. Moving on to the youtube-dl-2015.05.04 version, I have found most of my 'subscriptions' work ok using youtube-dl-2015.05.04 with ytuser:username (thanks!), BUT What I now see is that some 'users' don't have a valid 'username' eg. So, for these channels, I cannot find a user to insert in the ytuser:XXXXXX line. PS I LOVE youtube-dl !!!!!! thanks so much to all developers and noob-question-answerers.. |
|
It worked because the YouTube api supported it, but since it stopped working we parse now the webpages and that wouldn't work. |
was working fine till today.
I upgraded to youtube-dl-2015.05.04, but this has not helped.
Note that the page in question does exist
https://www.youtube.com/channel/UCXV7LWJ5ckEYemnyd2Z9OBA
I suspect this is due to youtube changing something...?
example output:
./youtube-dl/youtube-dl ytuser:UCXV7LWJ5ckEYemnyd2Z9OBA --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'ytuser:UCXV7LWJ5ckEYemnyd2Z9OBA', u'--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.05.04
[debug] Python version 2.7.8 - Darwin-10.8.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.4.2, ffprobe 2.4.2
[debug] Proxy map: {}
[youtube:user] UCXV7LWJ5ckEYemnyd2Z9OBA: Downloading page #1
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "./youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 312, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "./youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 1708, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)