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

Old YouTube trick on URL breaks youtube-dl #10640

Open
AdamDanischewski opened this issue Sep 14, 2016 · 0 comments
Open

Old YouTube trick on URL breaks youtube-dl #10640

AdamDanischewski opened this issue Sep 14, 2016 · 0 comments

Comments

@AdamDanischewski
Copy link

@AdamDanischewski AdamDanischewski commented Sep 14, 2016

I know I can download the channel of a user, using the following:
youtube-dl -v ytuser:filmisnow

Yet 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=UL

But 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.

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
1 participant
You can’t perform that action at this time.