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.
I know I can download the channel of a user, using the following:
youtube-dl -v ytuser:filmisnowYet there is a trick to turn any video into a playlist of all the videos of the corresponding user channel by adding to the video URL:
&feature=mfu_in_order&list=ULBut youtube-dl breaks:
E.g. https://www.youtube.com/watch?v=Ih7FpwDWRuQ&feature=mfu_in_order&list=UL
youtube-dl -vvv "https://www.youtube.com/watch?v=Ih7FpwDWRuQ&feature=mfu_in_order&list=UL"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-vvv', u'https://www.youtube.com/watch?v=Ih7FpwDWRuQ&feature=mfu_in_order&list=UL']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.01
[debug] Python version 2.7.6 - Linux-3.8.11-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.18-6, avprobe 9.18-6
[debug] Proxy map: {}
[generic] watch?v=Ih7FpwDWRuQ&feature=mfu_in_order&list=UL: Requesting header
WARNING: Falling back on generic information extractor.
[generic] watch?v=Ih7FpwDWRuQ&feature=mfu_in_order&list=UL: Downloading webpage
[generic] watch?v=Ih7FpwDWRuQ&feature=mfu_in_order&list=UL: Extracting information
WARNING: Your copy of avconv is outdated and unable to properly mux separate video and audio files, youtube-dl will download single file media. Update avconv to version 10-0 or newer to fix this.
[debug] Invoking downloader on u'https://www.youtube.com/annotations_invideo?cap_hist=1\\u0026playlist_id=UL\\u0026video_id=Ih7FpwDWRuQ\\u0026ei=A67YV4vSDOLd8gTHzqTwBA'
ERROR: unable to download video data: HTTP Error 400: Bad Request
Traceback (most recent call last):
File "/home/cronkilla/REMEDY_DEV/scripts/youtube-dl/youtube_dl/YoutubeDL.py", line 1683, in process_info
success = dl(filename, info_dict)
File "/home/cronkilla/REMEDY_DEV/scripts/youtube-dl/youtube_dl/YoutubeDL.py", line 1625, in dl
return fd.download(name, info)
File "/home/cronkilla/REMEDY_DEV/scripts/youtube-dl/youtube_dl/downloader/common.py", line 350, in download
return self.real_download(filename, info_dict)
File "/home/cronkilla/REMEDY_DEV/scripts/youtube-dl/youtube_dl/downloader/http.py", line 58, in real_download
data = self.ydl.urlopen(request)
File "/home/cronkilla/REMEDY_DEV/scripts/youtube-dl/youtube_dl/YoutubeDL.py", line 1985, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: Bad Request
It would be nice if this were supported, since its convenient to not have to detect the username/channel id to get the entire channel corresponding to a video.