[Solved] external-downloader error #5283

Closed
opened 2026-02-21 02:41:33 -05:00 by deekerman · 8 comments
Owner

Originally created by @gulbuhar on GitHub (Aug 10, 2015).

Im getting error with "external-downloader" option enabled

Using axel

$ youtube-dl --proxy 127.0.0.1:9662 --external-downloader axel --external-downloader-args "-n10" --autonumber "0" -o "%(autonumber)s-%(title)s.%(ext)s" http://www.youtube.com/playlist?list=PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--proxy', u'127.0.0.1:9662', u'--external-downloader', u'axel', u'--external-downloader-args', u'-n10', u'--autonumber', u'0', u'-o', u'%(autonumber)s-%(title)s.%(ext)s', u'http://www.youtube.com/playlist?list=PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.08.09
[debug] Python version 2.7.9 - Linux-4.0.5-gentoo-x86_64-Intel-R-Core-TM-_i3-3110M_CPU@_2.40GHz-with-gentoo-2.2
[debug] exe versions: ffmpeg 2.6.3, ffprobe 2.6.3
[debug] Proxy map: {u'http': u'127.0.0.1:9662', u'https': u'127.0.0.1:9662'}
[youtube:playlist] PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H: Downloading webpage
[download] Downloading playlist: Drupal Tutorials - The Complete Omega 4 Course
[youtube:playlist] playlist Drupal Tutorials - The Complete Omega 4 Course: Downloading 23 videos
[download] Downloading video 1 of 23
[youtube] 2CM177ldAy8: Downloading webpage
[youtube] 2CM177ldAy8: Downloading video info webpage
[youtube] 2CM177ldAy8: Extracting video information
[youtube] 2CM177ldAy8: Downloading DASH manifest
[youtube] 2CM177ldAy8: Downloading DASH manifest
[debug] Invoking downloader on 'https://r5---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=d82335efb95d032f&itag=137&source=youtube&requiressl=yes&mv=m&ms=au&pl=24&mn=sn-xjpm-4g5e&mm=31&ratebypass=yes&mime=video/mp4&gir=yes&clen=5480857&lmt=1389781620972452&dur=144.200&sver=3&signature=52F066FBFD13A001B0956D3D1F0E0CD7D9E1746E.695A45C3B4B19727DCABB3D98D368928DA08ACA8&mt=1439239951&fexp=9407575,9407715,9407992,9408710,9415365,9415485,9416023,9416126,9416729,9417192,9417259,9417709,9418153,9418204,9418562,9418823&upn=X3o0q_Q0Z2c&key=dg_yt0&ip=65.49.68.200&ipbits=0&expire=1439261653&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,ms,pl,mn,mm,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: 1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4
[debug] axel command line: axel -o '1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part' -H 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,;q=0.7' -H 'Accept-Language: en-us,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/*;q=0.8' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/20.0 (Chrome)' -n10 -- 'https://r5---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=d82335efb95d032f&itag=137&source=youtube&requiressl=yes&mv=m&ms=au&pl=24&mn=sn-xjpm-4g5e&mm=31&ratebypass=yes&mime=video/mp4&gir=yes&clen=5480857&lmt=1389781620972452&dur=144.200&sver=3&signature=52F066FBFD13A001B0956D3D1F0E0CD7D9E1746E.695A45C3B4B19727DCABB3D98D368928DA08ACA8&mt=1439239951&fexp=9407575,9407715,9407992,9408710,9415365,9415485,9416023,9416126,9416729,9417192,9417259,9417709,9418153,9418204,9418562,9418823&upn=X3o0q_Q0Z2c&key=dg_yt0&ip=65.49.68.200&ipbits=0&expire=1439261653&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,ms,pl,mn,mm,ratebypass,mime,gir,clen,lmt,dur'
Initializing download: https://r5---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=d82335efb95d032f&itag=137&source=youtube&requiressl=yes&mv=m&ms=au&pl=24&mn=sn-xjpm-4g5e&mm=31&ratebypass=yes&mime=video/mp4&gir=yes&clen=5480857&lmt=1389781620972452&dur=144.200&sver=3&signature=52F066FBFD13A001B0956D3D1F0E0CD7D9E1746E.695A45C3B4B19727DCABB3D98D368928DA08ACA8&mt=1439239951&fexp=9407575,9407715,9407992,9408710,9415365,9415485,9416023,9416126,9416729,9417192,9417259,9417709,9418153,9418204,9418562,9418823&upn=X3o0q_Q0Z2c&key=dg_yt0&ip=65.49.68.200&ipbits=0&expire=1439261653&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,ms,pl,mn,mm,ratebypass,mime,gir,clen,lmt,dur
HTTP/1.0 404 Not Found

ERROR: axel exited with code 1
File "/usr/bin/youtube-dl", line 6, in
youtube_dl.main()
File "/usr/lib64/python2.7/site-packages/youtube_dl/init.py", line 410, in main
real_main(argv)
File "/usr/lib64/python2.7/site-packages/youtube_dl/_init.py", line 400, in _real_main
retcode = ydl.download(all_urls)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1653, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 827, in process_ie_result
extra_info=extra)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 719, in process_ie_result
extra_info=extra_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 712, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1323, in process_video_result
self.process_info(new_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1579, in process_info
partial_success = dl(fname, new_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1527, in dl
return fd.download(name, info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/common.py", line 342, in download
return self.real_download(filename, info_dict)
File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/external.py", line 33, in real_download
self.get_basename(), retval))
File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/common.py", line 155, in report_error
self.ydl.report_error(args, *kargs)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 530, in report_error
self.trouble(error_message, tb)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 492, in trouble
tb_data = traceback.format_list(traceback.extract_stack())

using aria2c

$ youtube-dl --proxy 127.0.0.1:9662 --external-downloader arai2c --external-downloader-args "-x10" --autonumber "0" -o "%(autonumber)s-%(title)s.%(ext)s" http://www.youtube.com/playlist?list=PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--proxy', u'127.0.0.1:9662', u'--external-downloader', u'arai2c', u'--external-downloader-args', u'-x10', u'--autonumber', u'0', u'-o', u'%(autonumber)s-%(title)s.%(ext)s', u'http://www.youtube.com/playlist?list=PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.08.09
[debug] Python version 2.7.9 - Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-i3-3110M_CPU@_2.40GHz-with-gentoo-2.2
[debug] exe versions: ffmpeg 2.6.3, ffprobe 2.6.3
[debug] Proxy map: {u'http': u'127.0.0.1:9662', u'https': u'127.0.0.1:9662'}
[youtube:playlist] PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H: Downloading webpage
[download] Downloading playlist: Drupal Tutorials - The Complete Omega 4 Course
[youtube:playlist] playlist Drupal Tutorials - The Complete Omega 4 Course: Downloading 23 videos
[download] Downloading video 1 of 23
[youtube] 2CM177ldAy8: Downloading webpage
[youtube] 2CM177ldAy8: Downloading video info webpage
[youtube] 2CM177ldAy8: Extracting video information
[youtube] 2CM177ldAy8: Downloading DASH manifest
[youtube] 2CM177ldAy8: Downloading DASH manifest
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 6, in
youtube_dl.main()
File "/usr/lib64/python2.7/site-packages/youtube_dl/init.py", line 410, in main
_real_main(argv)
File "/usr/lib64/python2.7/site-packages/youtube_dl/init.py", line 400, in _real_main
retcode = ydl.download(all_urls)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1653, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 827, in process_ie_result
extra_info=extra)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 719, in process_ie_result
extra_info=extra_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 712, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1323, in process_video_result
self.process_info(new_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1579, in process_info
partial_success = dl(fname, new_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1522, in dl
fd = get_suitable_downloader(info, self.params)(self, self.params)
File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/init.py", line 35, in get_suitable_downloader
ed = get_external_downloader(external_downloader)
File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/external.py", line 150, in get_external_downloader
return _BY_NAME[bn]
KeyError: u'arai2c'

Originally created by @gulbuhar on GitHub (Aug 10, 2015). **Im getting error with "external-downloader" option enabled** **Using axel** $ youtube-dl --proxy 127.0.0.1:9662 --external-downloader axel --external-downloader-args "-n10" --autonumber "0" -o "%(autonumber)s-%(title)s.%(ext)s" http://www.youtube.com/playlist?list=PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H -v [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--proxy', u'127.0.0.1:9662', u'--external-downloader', u'axel', u'--external-downloader-args', u'-n10', u'--autonumber', u'0', u'-o', u'%(autonumber)s-%(title)s.%(ext)s', u'http://www.youtube.com/playlist?list=PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H', u'-v'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2015.08.09 [debug] Python version 2.7.9 - Linux-4.0.5-gentoo-x86_64-Intel-R-Core-TM-_i3-3110M_CPU@_2.40GHz-with-gentoo-2.2 [debug] exe versions: ffmpeg 2.6.3, ffprobe 2.6.3 [debug] Proxy map: {u'http': u'127.0.0.1:9662', u'https': u'127.0.0.1:9662'} [youtube:playlist] PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H: Downloading webpage [download] Downloading playlist: Drupal Tutorials - The Complete Omega 4 Course [youtube:playlist] playlist Drupal Tutorials - The Complete Omega 4 Course: Downloading 23 videos [download] Downloading video 1 of 23 [youtube] 2CM177ldAy8: Downloading webpage [youtube] 2CM177ldAy8: Downloading video info webpage [youtube] 2CM177ldAy8: Extracting video information [youtube] 2CM177ldAy8: Downloading DASH manifest [youtube] 2CM177ldAy8: Downloading DASH manifest [debug] Invoking downloader on 'https://r5---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=d82335efb95d032f&itag=137&source=youtube&requiressl=yes&mv=m&ms=au&pl=24&mn=sn-xjpm-4g5e&mm=31&ratebypass=yes&mime=video/mp4&gir=yes&clen=5480857&lmt=1389781620972452&dur=144.200&sver=3&signature=52F066FBFD13A001B0956D3D1F0E0CD7D9E1746E.695A45C3B4B19727DCABB3D98D368928DA08ACA8&mt=1439239951&fexp=9407575,9407715,9407992,9408710,9415365,9415485,9416023,9416126,9416729,9417192,9417259,9417709,9418153,9418204,9418562,9418823&upn=X3o0q_Q0Z2c&key=dg_yt0&ip=65.49.68.200&ipbits=0&expire=1439261653&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,ms,pl,mn,mm,ratebypass,mime,gir,clen,lmt,dur' [download] Destination: 1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4 [debug] axel command line: axel -o '1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part' -H 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,;q=0.7' -H 'Accept-Language: en-us,en;q=0.5' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/*;q=0.8' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/20.0 (Chrome)' -n10 -- 'https://r5---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=d82335efb95d032f&itag=137&source=youtube&requiressl=yes&mv=m&ms=au&pl=24&mn=sn-xjpm-4g5e&mm=31&ratebypass=yes&mime=video/mp4&gir=yes&clen=5480857&lmt=1389781620972452&dur=144.200&sver=3&signature=52F066FBFD13A001B0956D3D1F0E0CD7D9E1746E.695A45C3B4B19727DCABB3D98D368928DA08ACA8&mt=1439239951&fexp=9407575,9407715,9407992,9408710,9415365,9415485,9416023,9416126,9416729,9417192,9417259,9417709,9418153,9418204,9418562,9418823&upn=X3o0q_Q0Z2c&key=dg_yt0&ip=65.49.68.200&ipbits=0&expire=1439261653&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,ms,pl,mn,mm,ratebypass,mime,gir,clen,lmt,dur' Initializing download: https://r5---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=d82335efb95d032f&itag=137&source=youtube&requiressl=yes&mv=m&ms=au&pl=24&mn=sn-xjpm-4g5e&mm=31&ratebypass=yes&mime=video/mp4&gir=yes&clen=5480857&lmt=1389781620972452&dur=144.200&sver=3&signature=52F066FBFD13A001B0956D3D1F0E0CD7D9E1746E.695A45C3B4B19727DCABB3D98D368928DA08ACA8&mt=1439239951&fexp=9407575,9407715,9407992,9408710,9415365,9415485,9416023,9416126,9416729,9417192,9417259,9417709,9418153,9418204,9418562,9418823&upn=X3o0q_Q0Z2c&key=dg_yt0&ip=65.49.68.200&ipbits=0&expire=1439261653&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,ms,pl,mn,mm,ratebypass,mime,gir,clen,lmt,dur HTTP/1.0 404 Not Found ERROR: axel exited with code 1 File "/usr/bin/youtube-dl", line 6, in youtube_dl.main() File "/usr/lib64/python2.7/site-packages/youtube_dl/init.py", line 410, in main real_main(argv) File "/usr/lib64/python2.7/site-packages/youtube_dl/__init_.py", line 400, in _real_main retcode = ydl.download(all_urls) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1653, in download url, force_generic_extractor=self.params.get('force_generic_extractor', False)) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info return self.process_ie_result(ie_result, download, extra_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 827, in process_ie_result extra_info=extra) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 719, in process_ie_result extra_info=extra_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info return self.process_ie_result(ie_result, download, extra_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 712, in process_ie_result return self.process_video_result(ie_result, download=download) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1323, in process_video_result self.process_info(new_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1579, in process_info partial_success = dl(fname, new_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1527, in dl return fd.download(name, info) File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/common.py", line 342, in download return self.real_download(filename, info_dict) File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/external.py", line 33, in real_download self.get_basename(), retval)) File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/common.py", line 155, in report_error self.ydl.report_error(args, *kargs) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 530, in report_error self.trouble(error_message, tb) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 492, in trouble tb_data = traceback.format_list(traceback.extract_stack()) **using aria2c** $ youtube-dl --proxy 127.0.0.1:9662 --external-downloader arai2c --external-downloader-args "-x10" --autonumber "0" -o "%(autonumber)s-%(title)s.%(ext)s" http://www.youtube.com/playlist?list=PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H -v [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--proxy', u'127.0.0.1:9662', u'--external-downloader', u'arai2c', u'--external-downloader-args', u'-x10', u'--autonumber', u'0', u'-o', u'%(autonumber)s-%(title)s.%(ext)s', u'http://www.youtube.com/playlist?list=PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H', u'-v'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2015.08.09 [debug] Python version 2.7.9 - Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i3-3110M_CPU_@_2.40GHz-with-gentoo-2.2 [debug] exe versions: ffmpeg 2.6.3, ffprobe 2.6.3 [debug] Proxy map: {u'http': u'127.0.0.1:9662', u'https': u'127.0.0.1:9662'} [youtube:playlist] PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H: Downloading webpage [download] Downloading playlist: Drupal Tutorials - The Complete Omega 4 Course [youtube:playlist] playlist Drupal Tutorials - The Complete Omega 4 Course: Downloading 23 videos [download] Downloading video 1 of 23 [youtube] 2CM177ldAy8: Downloading webpage [youtube] 2CM177ldAy8: Downloading video info webpage [youtube] 2CM177ldAy8: Extracting video information [youtube] 2CM177ldAy8: Downloading DASH manifest [youtube] 2CM177ldAy8: Downloading DASH manifest Traceback (most recent call last): File "/usr/bin/youtube-dl", line 6, in <module> youtube_dl.main() File "/usr/lib64/python2.7/site-packages/youtube_dl/__init__.py", line 410, in main _real_main(argv) File "/usr/lib64/python2.7/site-packages/youtube_dl/__init__.py", line 400, in _real_main retcode = ydl.download(all_urls) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1653, in download url, force_generic_extractor=self.params.get('force_generic_extractor', False)) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info return self.process_ie_result(ie_result, download, extra_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 827, in process_ie_result extra_info=extra) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 719, in process_ie_result extra_info=extra_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info return self.process_ie_result(ie_result, download, extra_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 712, in process_ie_result return self.process_video_result(ie_result, download=download) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1323, in process_video_result self.process_info(new_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1579, in process_info partial_success = dl(fname, new_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1522, in dl fd = get_suitable_downloader(info, self.params)(self, self.params) File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/__init__.py", line 35, in get_suitable_downloader ed = get_external_downloader(external_downloader) File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/external.py", line 150, in get_external_downloader return _BY_NAME[bn] KeyError: u'arai2c'
Author
Owner

@dstftw commented on GitHub (Aug 10, 2015):

Absolutely different error. Can you download the URL returned by youtube-dl -g ... when passed manually to axel? Is your proxy intended? axel seems missing any --proxy command line option so proxy should be setup in axelrc if intended.
For aria - you have misspelled it - should be aria2c.

@dstftw commented on GitHub (Aug 10, 2015): Absolutely different error. Can you download the URL returned by `youtube-dl -g ...` when passed manually to axel? Is your proxy intended? axel seems missing any `--proxy` command line option so proxy should be setup in `axelrc` if intended. For aria - you have misspelled it - should be `aria2c`.
Author
Owner

@gulbuhar commented on GitHub (Aug 10, 2015):

Nope, seems axel could not handle the returned links. (Axel version 2.4)
Aria2c gives me
$ youtube-dl --proxy 127.0.0.1:9662 --external-downloader aria2c --external-downloader-args "-x10" --autonumber "0" -o "%(autonumber)s-%(title)s.%(ext)s" http://www.youtube.com/playlist?list=PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--proxy', u'127.0.0.1:9662', u'--external-downloader', u'aria2c', u'--external-downloader-args', u'-x10', u'--autonumber', u'0', u'-o', u'%(autonumber)s-%(title)s.%(ext)s', u'http://www.youtube.com/playlist?list=PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.08.09
[debug] Python version 2.7.9 - Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-i3-3110M_CPU@2.40GHz-with-gentoo-2.2
[debug] exe versions: ffmpeg 2.6.3, ffprobe 2.6.3
[debug] Proxy map: {u'http': u'127.0.0.1:9662', u'https': u'127.0.0.1:9662'}
[youtube:playlist] PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H: Downloading webpage
[download] Downloading playlist: Drupal Tutorials - The Complete Omega 4 Course
[youtube:playlist] playlist Drupal Tutorials - The Complete Omega 4 Course: Downloading 23 videos
[download] Downloading video 1 of 23
[youtube] 2CM177ldAy8: Downloading webpage
[youtube] 2CM177ldAy8: Downloading video info webpage
[youtube] 2CM177ldAy8: Extracting video information
[youtube] 2CM177ldAy8: Downloading DASH manifest
[youtube] 2CM177ldAy8: Downloading DASH manifest
[debug] Invoking downloader on 'https://r5---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=d82335efb95d032f&itag=137&source=youtube&requiressl=yes&mv=m&pl=24&mn=sn-xjpm-4g5e&mm=31&ms=au&ratebypass=yes&mime=video/mp4&gir=yes&clen=5480857&lmt=1389781620972452&dur=144.200&key=dg_yt0&upn=BzerrJ55PI&mt=1439243071&fexp=9407538,9408513,9408710,9409171,9415365,9415436,9415485,9416023,9416126,9416290,9416838,9417121,9417703,9418084,9418153,9418184,9418330,9418702,9418781&signature=1B3247D9A7C14568EE9678DB39106D6DEAD734E1.42309A7B5117D29CB05A79F89A89CB65264C6FB4&sver=3&ip=65.49.68.203&ipbits=0&expire=1439264729&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,pl,mn,mm,ms,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: 1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4
[debug] aria2c command line: aria2c -c -x10 --out '1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part' --header 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,
;q=0.7' --header 'Accept-Language: en-us,en;q=0.5' --header 'Accept-Encoding: gzip, deflate' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,
/*;q=0.8' --header 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/20.0 (Chrome)' -- 'https://r5---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=d82335efb95d032f&itag=137&source=youtube&requiressl=yes&mv=m&pl=24&mn=sn-xjpm-4g5e&mm=31&ms=au&ratebypass=yes&mime=video/mp4&gir=yes&clen=5480857&lmt=1389781620972452&dur=144.200&key=dg_yt0&upn=_BzerrJ55PI&mt=1439243071&fexp=9407538,9408513,9408710,9409171,9415365,9415436,9415485,9416023,9416126,9416290,9416838,9417121,9417703,9418084,9418153,9418184,9418330,9418702,9418781&signature=1B3247D9A7C14568EE9678DB39106D6DEAD734E1.42309A7B5117D29CB05A79F89A89CB65264C6FB4&sver=3&ip=65.49.68.203&ipbits=0&expire=1439264729&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,pl,mn,mm,ms,ratebypass,mime,gir,clen,lmt,dur'
Download Progress Summary as of Tue Aug 11 02:16:37 2015

[#1 SIZE:0B/0B CN:1 SPD:0Bs]
FILE: /home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part

Download Progress Summary as of Tue Aug 11 02:17:38 2015

[#1 SIZE:0B/0B CN:1 SPD:0Bs]
FILE: /home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part

Download Progress Summary as of Tue Aug 11 02:18:38 2015

[#1 SIZE:0B/0B CN:1 SPD:0Bs]
FILE: /home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part

Download Progress Summary as of Tue Aug 11 02:19:39 2015

[#1 SIZE:0B/0B CN:1 SPD:0Bs]
FILE: /home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part

[#1 SIZE:0B/0B CN:1 SPD:0Bs]
[#1 SIZE:0B/0B CN:1 SPD:0Bs]
Download Progress Summary as of Tue Aug 11 02:20:39 2015

[#1 SIZE:0B/0B CN:1 SPD:0Bs]
FILE: /home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part

[#1 SIZE:0B/0B CN:1 SPD:0Bs]
2015-08-11 02:20:39.996682 ERROR - CUID#6 - Download aborted. URI=https://r5---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=d82335efb95d032f&itag=137&source=youtube&requiressl=yes&mv=m&pl=24&mn=sn-xjpm-4g5e&mm=31&ms=au&ratebypass=yes&mime=video/mp4&gir=yes&clen=5480857&lmt=1389781620972452&dur=144.200&key=dg_yt0&upn=_BzerrJ55PI&mt=1439243071&fexp=9407538,9408513,9408710,9409171,9415365,9415436,9415485,9416023,9416126,9416290,9416838,9417121,9417703,9418084,9418153,9418184,9418330,9418702,9418781&signature=1B3247D9A7C14568EE9678DB39106D6DEAD734E1.42309A7B5117D29CB05A79F89A89CB65264C6FB4&sver=3&ip=65.49.68.203&ipbits=0&expire=1439264729&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,pl,mn,mm,ms,ratebypass,mime,gir,clen,lmt,dur
Exception: [AbstractCommand.cc:291] errorCode=2 Timeout.

2015-08-11 02:20:39.996739 NOTICE - Download GID#1 not complete: /home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part

Download Results:
gid|stat|avg speed |path/URI
===+====+===========+===========================================================
1| ERR| 0B/s|/home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part

Status Legend:
(ERR):error occurred.

aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man page for details.

ERROR: aria2c exited with code 2
File "/usr/bin/youtube-dl", line 6, in
youtube_dl.main()
File "/usr/lib64/python2.7/site-packages/youtube_dl/init.py", line 410, in main
_real_main(argv)
File "/usr/lib64/python2.7/site-packages/youtube_dl/init.py", line 400, in _real_main
retcode = ydl.download(all_urls)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1653, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 827, in process_ie_result
extra_info=extra)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 719, in process_ie_result
extra_info=extra_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 712, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1323, in process_video_result
self.process_info(new_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1579, in process_info
partial_success = dl(fname, new_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1527, in dl
return fd.download(name, info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/common.py", line 342, in download
return self.real_download(filename, info_dict)
File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/external.py", line 33, in real_download
self.get_basename(), retval))
File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/common.py", line 155, in report_error
self.ydl.report_error(_args, *_kargs)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 530, in report_error
self.trouble(error_message, tb)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 492, in trouble
tb_data = traceback.format_list(traceback.extract_stack())

using aria proxy option

$ youtube-dl --external-downloader aria2c --external-downloader-args "-x10 --all-proxy=127.0.0.1:9662" --autonumber "0" -o "%(autonumber)s-%(title)s.%(ext)s" http://www.youtube.com/playlist?list=PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--external-downloader', u'aria2c', u'--external-downloader-args', u'-x10 --all-proxy=127.0.0.1:9662', u'--autonumber', u'0', u'-o', u'%(autonumber)s-%(title)s.%(ext)s', u'http://www.youtube.com/playlist?list=PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.08.09
[debug] Python version 2.7.9 - Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-i3-3110M_CPU@_2.40GHz-with-gentoo-2.2
[debug] exe versions: ffmpeg 2.6.3, ffprobe 2.6.3
[debug] Proxy map: {}
[youtube:playlist] PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 101] Network is unreachable> (caused by URLError(error(101, 'Network is unreachable'),))
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/common.py", line 325, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1860, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib64/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(_args)
File "/usr/lib64/python2.7/site-packages/youtube_dl/utils.py", line 749, in https_open
req, *_kwargs)
File "/usr/lib64/python2.7/urllib2.py", line 1197, in do_open
raise URLError(err)

Proxychains ( It's a proxifier)

$ proxychains -q youtube-dl --external-downloader aria2c --external-downloader-args "-x10" --autonumber "0" -o "%(autonumber)s-%(title)s.%(ext)s" https://www.youtube.com/watch?v=jp70_OzYtY0 -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--external-downloader', u'aria2c', u'--external-downloader-args', u'-x10', u'--autonumber', u'0', u'-o', u'%(autonumber)s-%(title)s.%(ext)s', u'https://www.youtube.com/watch?v=jp70_OzYtY0', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.08.09
[debug] Python version 2.7.9 - Linux-4.0.5-gentoo-x86_64-Intel-R-Core-TM-i3-3110M_CPU@2.40GHz-with-gentoo-2.2
[debug] exe versions: ffmpeg 2.6.3, ffprobe 2.6.3
[debug] Proxy map: {}
[youtube] jp70_OzYtY0: Downloading webpage
[youtube] jp70_OzYtY0: Downloading video info webpage
[youtube] jp70_OzYtY0: Extracting video information
[youtube] jp70_OzYtY0: Downloading DASH manifest
[youtube] jp70_OzYtY0: Downloading DASH manifest
[debug] Invoking downloader on 'https://r1---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=8e9ef4fcecd8b58d&itag=137&source=youtube&requiressl=yes&mm=31&mn=sn-xjpm-4g5e&pl=24&mv=m&ms=au&ratebypass=yes&mime=video/mp4&gir=yes&clen=87148403&lmt=1391851776132352&dur=442.701&key=dg_yt0&fexp=9406009,9407156,9408206,9408710,9412928,9413138,9415357,9415365,9415485,9415869,9416023,9416126,9416280,9417117,9417690,9418153,9418199,9418203,9418250&signature=813981A0B4A7376E342FEFB0D447F5883B3ADE6F.50CD34EDC97424E51B2FBF0E0FF7820EC94A5345&upn=8QyaEiWgBnI&sver=3&mt=1439245718&ip=65.49.68.203&ipbits=0&expire=1439267427&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,pl,mv,ms,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: 1-Drupal Tutorials - The Complete Guide To Omega 4 #22 - Changing Layouts With Panels Everywhere.f137.mp4
[debug] aria2c command line: aria2c -c -x10 --out '1-Drupal Tutorials - The Complete Guide To Omega 4 #22 - Changing Layouts With Panels Everywhere.f137.mp4.part' --header 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,
;q=0.7' --header 'Accept-Language: en-us,en;q=0.5' --header 'Accept-Encoding: gzip, deflate' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,
/*;q=0.8' --header 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/20.0 (Chrome)' -- 'https://r1---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=8e9ef4fcecd8b58d&itag=137&source=youtube&requiressl=yes&mm=31&mn=sn-xjpm-4g5e&pl=24&mv=m&ms=au&ratebypass=yes&mime=video/mp4&gir=yes&clen=87148403&lmt=1391851776132352&dur=442.701&key=dg_yt0&fexp=9406009,9407156,9408206,9408710,9412928,9413138,9415357,9415365,9415485,9415869,9416023,9416126,9416280,9417117,9417690,9418153,9418199,9418203,9418250&signature=813981A0B4A7376E342FEFB0D447F5883B3ADE6F.50CD34EDC97424E51B2FBF0E0FF7820EC94A5345&upn=8QyaEiWgBnI&sver=3&mt=1439245718&ip=65.49.68.203&ipbits=0&expire=1439267427&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,pl,mv,ms,ratebypass,mime,gir,clen,lmt,dur'

2015-08-11 03:00:35.710374 ERROR - CUID#6 - Download aborted. URI=https://r1---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=8e9ef4fcecd8b58d&itag=137&source=youtube&requiressl=yes&mm=31&mn=sn-xjpm-4g5e&pl=24&mv=m&ms=au&ratebypass=yes&mime=video/mp4&gir=yes&clen=87148403&lmt=1391851776132352&dur=442.701&key=dg_yt0&fexp=9406009,9407156,9408206,9408710,9412928,9413138,9415357,9415365,9415485,9415869,9416023,9416126,9416280,9417117,9417690,9418153,9418199,9418203,9418250&signature=813981A0B4A7376E342FEFB0D447F5883B3ADE6F.50CD34EDC97424E51B2FBF0E0FF7820EC94A5345&upn=8QyaEiWgBnI&sver=3&mt=1439245718&ip=65.49.68.203&ipbits=0&expire=1439267427&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,pl,mv,ms,ratebypass,mime,gir,clen,lmt,dur
Exception: [AbstractCommand.cc:303] errorCode=1 URI=https://r1---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=8e9ef4fcecd8b58d&itag=137&source=youtube&requiressl=yes&mm=31&mn=sn-xjpm-4g5e&pl=24&mv=m&ms=au&ratebypass=yes&mime=video/mp4&gir=yes&clen=87148403&lmt=1391851776132352&dur=442.701&key=dg_yt0&fexp=9406009,9407156,9408206,9408710,9412928,9413138,9415357,9415365,9415485,9415869,9416023,9416126,9416280,9417117,9417690,9418153,9418199,9418203,9418250&signature=813981A0B4A7376E342FEFB0D447F5883B3ADE6F.50CD34EDC97424E51B2FBF0E0FF7820EC94A5345&upn=8QyaEiWgBnI&sver=3&mt=1439245718&ip=65.49.68.203&ipbits=0&expire=1439267427&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,pl,mv,ms,ratebypass,mime,gir,clen,lmt,dur
-> [SocketCore.cc:1005] errorCode=1 SSL initialization failed: An unexpected TLS packet was received.

2015-08-11 03:00:35.710556 NOTICE - Download GID#1 not complete: /home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #22 - Changing Layouts With Panels Everywhere.f137.mp4.part

Download Results:
gid|stat|avg speed |path/URI
===+====+===========+===========================================================
1| ERR| 0B/s|/home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #22 - Changing Layouts With Panels Everywhere.f137.mp4.part

Status Legend:
(ERR):error occurred.

aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man page for details.

ERROR: aria2c exited with code 1
File "/usr/bin/youtube-dl", line 6, in
youtube_dl.main()
File "/usr/lib64/python2.7/site-packages/youtube_dl/init.py", line 410, in main
_real_main(argv)
File "/usr/lib64/python2.7/site-packages/youtube_dl/init.py", line 400, in _real_main
retcode = ydl.download(all_urls)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1653, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 712, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1323, in process_video_result
self.process_info(new_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1579, in process_info
partial_success = dl(fname, new_info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1527, in dl
return fd.download(name, info)
File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/common.py", line 342, in download
return self.real_download(filename, info_dict)
File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/external.py", line 33, in real_download
self.get_basename(), retval))
File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/common.py", line 155, in report_error
self.ydl.report_error(_args, *_kargs)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 530, in report_error
self.trouble(error_message, tb)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 492, in trouble
tb_data = traceback.format_list(traceback.extract_stack())

@gulbuhar commented on GitHub (Aug 10, 2015): Nope, seems axel could not handle the returned links. (Axel version 2.4) **Aria2c gives me** **$ youtube-dl --proxy 127.0.0.1:9662 --external-downloader aria2c --external-downloader-args "-x10" --autonumber "0" -o "%(autonumber)s-%(title)s.%(ext)s" http://www.youtube.com/playlist?list=PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H -v** [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--proxy', u'127.0.0.1:9662', u'--external-downloader', u'aria2c', u'--external-downloader-args', u'-x10', u'--autonumber', u'0', u'-o', u'%(autonumber)s-%(title)s.%(ext)s', u'http://www.youtube.com/playlist?list=PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H', u'-v'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2015.08.09 [debug] Python version 2.7.9 - Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i3-3110M_CPU_@_2.40GHz-with-gentoo-2.2 [debug] exe versions: ffmpeg 2.6.3, ffprobe 2.6.3 [debug] Proxy map: {u'http': u'127.0.0.1:9662', u'https': u'127.0.0.1:9662'} [youtube:playlist] PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H: Downloading webpage [download] Downloading playlist: Drupal Tutorials - The Complete Omega 4 Course [youtube:playlist] playlist Drupal Tutorials - The Complete Omega 4 Course: Downloading 23 videos [download] Downloading video 1 of 23 [youtube] 2CM177ldAy8: Downloading webpage [youtube] 2CM177ldAy8: Downloading video info webpage [youtube] 2CM177ldAy8: Extracting video information [youtube] 2CM177ldAy8: Downloading DASH manifest [youtube] 2CM177ldAy8: Downloading DASH manifest [debug] Invoking downloader on 'https://r5---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=d82335efb95d032f&itag=137&source=youtube&requiressl=yes&mv=m&pl=24&mn=sn-xjpm-4g5e&mm=31&ms=au&ratebypass=yes&mime=video/mp4&gir=yes&clen=5480857&lmt=1389781620972452&dur=144.200&key=dg_yt0&upn=_BzerrJ55PI&mt=1439243071&fexp=9407538,9408513,9408710,9409171,9415365,9415436,9415485,9416023,9416126,9416290,9416838,9417121,9417703,9418084,9418153,9418184,9418330,9418702,9418781&signature=1B3247D9A7C14568EE9678DB39106D6DEAD734E1.42309A7B5117D29CB05A79F89A89CB65264C6FB4&sver=3&ip=65.49.68.203&ipbits=0&expire=1439264729&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,pl,mn,mm,ms,ratebypass,mime,gir,clen,lmt,dur' [download] Destination: 1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4 [debug] aria2c command line: aria2c -c -x10 --out '1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part' --header 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,_;q=0.7' --header 'Accept-Language: en-us,en;q=0.5' --header 'Accept-Encoding: gzip, deflate' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,_/*;q=0.8' --header 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/20.0 (Chrome)' -- 'https://r5---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=d82335efb95d032f&itag=137&source=youtube&requiressl=yes&mv=m&pl=24&mn=sn-xjpm-4g5e&mm=31&ms=au&ratebypass=yes&mime=video/mp4&gir=yes&clen=5480857&lmt=1389781620972452&dur=144.200&key=dg_yt0&upn=_BzerrJ55PI&mt=1439243071&fexp=9407538,9408513,9408710,9409171,9415365,9415436,9415485,9416023,9416126,9416290,9416838,9417121,9417703,9418084,9418153,9418184,9418330,9418702,9418781&signature=1B3247D9A7C14568EE9678DB39106D6DEAD734E1.42309A7B5117D29CB05A79F89A89CB65264C6FB4&sver=3&ip=65.49.68.203&ipbits=0&expire=1439264729&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,pl,mn,mm,ms,ratebypass,mime,gir,clen,lmt,dur' Download Progress Summary as of Tue Aug 11 02:16:37 2015 [#1 SIZE:0B/0B CN:1 SPD:0Bs] FILE: /home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part Download Progress Summary as of Tue Aug 11 02:17:38 2015 [#1 SIZE:0B/0B CN:1 SPD:0Bs] FILE: /home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part Download Progress Summary as of Tue Aug 11 02:18:38 2015 [#1 SIZE:0B/0B CN:1 SPD:0Bs] FILE: /home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part Download Progress Summary as of Tue Aug 11 02:19:39 2015 [#1 SIZE:0B/0B CN:1 SPD:0Bs] FILE: /home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part [#1 SIZE:0B/0B CN:1 SPD:0Bs] [#1 SIZE:0B/0B CN:1 SPD:0Bs] Download Progress Summary as of Tue Aug 11 02:20:39 2015 [#1 SIZE:0B/0B CN:1 SPD:0Bs] FILE: /home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part [#1 SIZE:0B/0B CN:1 SPD:0Bs] 2015-08-11 02:20:39.996682 ERROR - CUID#6 - Download aborted. URI=https://r5---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=d82335efb95d032f&itag=137&source=youtube&requiressl=yes&mv=m&pl=24&mn=sn-xjpm-4g5e&mm=31&ms=au&ratebypass=yes&mime=video/mp4&gir=yes&clen=5480857&lmt=1389781620972452&dur=144.200&key=dg_yt0&upn=_BzerrJ55PI&mt=1439243071&fexp=9407538,9408513,9408710,9409171,9415365,9415436,9415485,9416023,9416126,9416290,9416838,9417121,9417703,9418084,9418153,9418184,9418330,9418702,9418781&signature=1B3247D9A7C14568EE9678DB39106D6DEAD734E1.42309A7B5117D29CB05A79F89A89CB65264C6FB4&sver=3&ip=65.49.68.203&ipbits=0&expire=1439264729&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,pl,mn,mm,ms,ratebypass,mime,gir,clen,lmt,dur Exception: [AbstractCommand.cc:291] errorCode=2 Timeout. 2015-08-11 02:20:39.996739 NOTICE - Download GID#1 not complete: /home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part Download Results: gid|stat|avg speed |path/URI ===+====+===========+=========================================================== 1| ERR| 0B/s|/home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #1 - Course Overview.f137.mp4.part Status Legend: (ERR):error occurred. aria2 will resume download if the transfer is restarted. If there are any errors, then see the log file. See '-l' option in help/man page for details. ERROR: aria2c exited with code 2 File "/usr/bin/youtube-dl", line 6, in <module> youtube_dl.main() File "/usr/lib64/python2.7/site-packages/youtube_dl/**init**.py", line 410, in main _real_main(argv) File "/usr/lib64/python2.7/site-packages/youtube_dl/__init__.py", line 400, in _real_main retcode = ydl.download(all_urls) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1653, in download url, force_generic_extractor=self.params.get('force_generic_extractor', False)) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info return self.process_ie_result(ie_result, download, extra_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 827, in process_ie_result extra_info=extra) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 719, in process_ie_result extra_info=extra_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info return self.process_ie_result(ie_result, download, extra_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 712, in process_ie_result return self.process_video_result(ie_result, download=download) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1323, in process_video_result self.process_info(new_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1579, in process_info partial_success = dl(fname, new_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1527, in dl return fd.download(name, info) File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/common.py", line 342, in download return self.real_download(filename, info_dict) File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/external.py", line 33, in real_download self.get_basename(), retval)) File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/common.py", line 155, in report_error self.ydl.report_error(_args, *_kargs) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 530, in report_error self.trouble(error_message, tb) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 492, in trouble tb_data = traceback.format_list(traceback.extract_stack()) **using aria proxy option** **$ youtube-dl --external-downloader aria2c --external-downloader-args "-x10 --all-proxy=127.0.0.1:9662" --autonumber "0" -o "%(autonumber)s-%(title)s.%(ext)s" http://www.youtube.com/playlist?list=PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H -v** [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--external-downloader', u'aria2c', u'--external-downloader-args', u'-x10 --all-proxy=127.0.0.1:9662', u'--autonumber', u'0', u'-o', u'%(autonumber)s-%(title)s.%(ext)s', u'http://www.youtube.com/playlist?list=PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H', u'-v'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2015.08.09 [debug] Python version 2.7.9 - Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i3-3110M_CPU_@_2.40GHz-with-gentoo-2.2 [debug] exe versions: ffmpeg 2.6.3, ffprobe 2.6.3 [debug] Proxy map: {} [youtube:playlist] PLLnpHn493BHH5nnK2dKE_42l1oXA6Tq6H: Downloading webpage ERROR: Unable to download webpage: <urlopen error [Errno 101] Network is unreachable> (caused by URLError(error(101, 'Network is unreachable'),)) File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/common.py", line 325, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1860, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/lib64/python2.7/urllib2.py", line 431, in open response = self._open(req, data) File "/usr/lib64/python2.7/urllib2.py", line 449, in _open '_open', req) File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain result = func(_args) File "/usr/lib64/python2.7/site-packages/youtube_dl/utils.py", line 749, in https_open req, *_kwargs) File "/usr/lib64/python2.7/urllib2.py", line 1197, in do_open raise URLError(err) **Proxychains ( It's a proxifier)** **$ proxychains -q youtube-dl --external-downloader aria2c --external-downloader-args "-x10" --autonumber "0" -o "%(autonumber)s-%(title)s.%(ext)s" https://www.youtube.com/watch?v=jp70_OzYtY0 -v** [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--external-downloader', u'aria2c', u'--external-downloader-args', u'-x10', u'--autonumber', u'0', u'-o', u'%(autonumber)s-%(title)s.%(ext)s', u'https://www.youtube.com/watch?v=jp70_OzYtY0', u'-v'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2015.08.09 [debug] Python version 2.7.9 - Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i3-3110M_CPU_@_2.40GHz-with-gentoo-2.2 [debug] exe versions: ffmpeg 2.6.3, ffprobe 2.6.3 [debug] Proxy map: {} [youtube] jp70_OzYtY0: Downloading webpage [youtube] jp70_OzYtY0: Downloading video info webpage [youtube] jp70_OzYtY0: Extracting video information [youtube] jp70_OzYtY0: Downloading DASH manifest [youtube] jp70_OzYtY0: Downloading DASH manifest [debug] Invoking downloader on 'https://r1---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=8e9ef4fcecd8b58d&itag=137&source=youtube&requiressl=yes&mm=31&mn=sn-xjpm-4g5e&pl=24&mv=m&ms=au&ratebypass=yes&mime=video/mp4&gir=yes&clen=87148403&lmt=1391851776132352&dur=442.701&key=dg_yt0&fexp=9406009,9407156,9408206,9408710,9412928,9413138,9415357,9415365,9415485,9415869,9416023,9416126,9416280,9417117,9417690,9418153,9418199,9418203,9418250&signature=813981A0B4A7376E342FEFB0D447F5883B3ADE6F.50CD34EDC97424E51B2FBF0E0FF7820EC94A5345&upn=8QyaEiWgBnI&sver=3&mt=1439245718&ip=65.49.68.203&ipbits=0&expire=1439267427&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,pl,mv,ms,ratebypass,mime,gir,clen,lmt,dur' [download] Destination: 1-Drupal Tutorials - The Complete Guide To Omega 4 #22 - Changing Layouts With Panels Everywhere.f137.mp4 [debug] aria2c command line: aria2c -c -x10 --out '1-Drupal Tutorials - The Complete Guide To Omega 4 #22 - Changing Layouts With Panels Everywhere.f137.mp4.part' --header 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,_;q=0.7' --header 'Accept-Language: en-us,en;q=0.5' --header 'Accept-Encoding: gzip, deflate' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,_/*;q=0.8' --header 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/20.0 (Chrome)' -- 'https://r1---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=8e9ef4fcecd8b58d&itag=137&source=youtube&requiressl=yes&mm=31&mn=sn-xjpm-4g5e&pl=24&mv=m&ms=au&ratebypass=yes&mime=video/mp4&gir=yes&clen=87148403&lmt=1391851776132352&dur=442.701&key=dg_yt0&fexp=9406009,9407156,9408206,9408710,9412928,9413138,9415357,9415365,9415485,9415869,9416023,9416126,9416280,9417117,9417690,9418153,9418199,9418203,9418250&signature=813981A0B4A7376E342FEFB0D447F5883B3ADE6F.50CD34EDC97424E51B2FBF0E0FF7820EC94A5345&upn=8QyaEiWgBnI&sver=3&mt=1439245718&ip=65.49.68.203&ipbits=0&expire=1439267427&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,pl,mv,ms,ratebypass,mime,gir,clen,lmt,dur' 2015-08-11 03:00:35.710374 ERROR - CUID#6 - Download aborted. URI=https://r1---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=8e9ef4fcecd8b58d&itag=137&source=youtube&requiressl=yes&mm=31&mn=sn-xjpm-4g5e&pl=24&mv=m&ms=au&ratebypass=yes&mime=video/mp4&gir=yes&clen=87148403&lmt=1391851776132352&dur=442.701&key=dg_yt0&fexp=9406009,9407156,9408206,9408710,9412928,9413138,9415357,9415365,9415485,9415869,9416023,9416126,9416280,9417117,9417690,9418153,9418199,9418203,9418250&signature=813981A0B4A7376E342FEFB0D447F5883B3ADE6F.50CD34EDC97424E51B2FBF0E0FF7820EC94A5345&upn=8QyaEiWgBnI&sver=3&mt=1439245718&ip=65.49.68.203&ipbits=0&expire=1439267427&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,pl,mv,ms,ratebypass,mime,gir,clen,lmt,dur Exception: [AbstractCommand.cc:303] errorCode=1 URI=https://r1---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=8e9ef4fcecd8b58d&itag=137&source=youtube&requiressl=yes&mm=31&mn=sn-xjpm-4g5e&pl=24&mv=m&ms=au&ratebypass=yes&mime=video/mp4&gir=yes&clen=87148403&lmt=1391851776132352&dur=442.701&key=dg_yt0&fexp=9406009,9407156,9408206,9408710,9412928,9413138,9415357,9415365,9415485,9415869,9416023,9416126,9416280,9417117,9417690,9418153,9418199,9418203,9418250&signature=813981A0B4A7376E342FEFB0D447F5883B3ADE6F.50CD34EDC97424E51B2FBF0E0FF7820EC94A5345&upn=8QyaEiWgBnI&sver=3&mt=1439245718&ip=65.49.68.203&ipbits=0&expire=1439267427&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,pl,mv,ms,ratebypass,mime,gir,clen,lmt,dur -> [SocketCore.cc:1005] errorCode=1 SSL initialization failed: An unexpected TLS packet was received. 2015-08-11 03:00:35.710556 NOTICE - Download GID#1 not complete: /home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #22 - Changing Layouts With Panels Everywhere.f137.mp4.part Download Results: gid|stat|avg speed |path/URI ===+====+===========+=========================================================== 1| ERR| 0B/s|/home/USER/Downloads/youtube/1-Drupal Tutorials - The Complete Guide To Omega 4 #22 - Changing Layouts With Panels Everywhere.f137.mp4.part Status Legend: (ERR):error occurred. aria2 will resume download if the transfer is restarted. If there are any errors, then see the log file. See '-l' option in help/man page for details. ERROR: aria2c exited with code 1 File "/usr/bin/youtube-dl", line 6, in <module> youtube_dl.main() File "/usr/lib64/python2.7/site-packages/youtube_dl/**init**.py", line 410, in main _real_main(argv) File "/usr/lib64/python2.7/site-packages/youtube_dl/__init__.py", line 400, in _real_main retcode = ydl.download(all_urls) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1653, in download url, force_generic_extractor=self.params.get('force_generic_extractor', False)) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info return self.process_ie_result(ie_result, download, extra_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 712, in process_ie_result return self.process_video_result(ie_result, download=download) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1323, in process_video_result self.process_info(new_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1579, in process_info partial_success = dl(fname, new_info) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1527, in dl return fd.download(name, info) File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/common.py", line 342, in download return self.real_download(filename, info_dict) File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/external.py", line 33, in real_download self.get_basename(), retval)) File "/usr/lib64/python2.7/site-packages/youtube_dl/downloader/common.py", line 155, in report_error self.ydl.report_error(_args, *_kargs) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 530, in report_error self.trouble(error_message, tb) File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 492, in trouble tb_data = traceback.format_list(traceback.extract_stack())
Author
Owner

@dstftw commented on GitHub (Aug 10, 2015):

Can you download it with youtube-dl itself using proxy? Can you download direct link by aria using proxy? Does your proxy capable of https at all?

@dstftw commented on GitHub (Aug 10, 2015): Can you download it with youtube-dl itself using proxy? Can you download direct link by aria using proxy? Does your proxy capable of https at all?
Author
Owner

@gulbuhar commented on GitHub (Aug 10, 2015):

yes I can download both with aria(direct) and youtube-dl using proxy, of course my proxy can do things over HTTPS (please notice that its a SOCKS-5 proxy / I dont know if its important or not)

$ youtube-dl --proxy 127.0.0.1:9662 --autonumber "0" -o "%(autonumber)s-%(title)s.%(ext)s" https://www.youtube.com/watch?v=jp70_OzYtY0 -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--proxy', u'127.0.0.1:9662', u'--autonumber', u'0', u'-o', u'%(autonumber)s-%(title)s.%(ext)s', u'https://www.youtube.com/watch?v=jp70_OzYtY0', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.08.09
[debug] Python version 2.7.9 - Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-i3-3110M_CPU@_2.40GHz-with-gentoo-2.2
[debug] exe versions: ffmpeg 2.6.3, ffprobe 2.6.3
[debug] Proxy map: {u'http': u'127.0.0.1:9662', u'https': u'127.0.0.1:9662'}
[youtube] jp70_OzYtY0: Downloading webpage
[youtube] jp70_OzYtY0: Downloading video info webpage
[youtube] jp70_OzYtY0: Extracting video information
[youtube] jp70_OzYtY0: Downloading DASH manifest
[youtube] jp70_OzYtY0: Downloading DASH manifest
[debug] Invoking downloader on 'https://r1---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=8e9ef4fcecd8b58d&itag=137&source=youtube&requiressl=yes&ms=au&pl=24&mv=m&mm=31&mn=sn-xjpm-4g5e&ratebypass=yes&mime=video/mp4&gir=yes&clen=87148403&lmt=1391851776132352&dur=442.701&signature=25A1B49908A8FC204D8539EBE69E0E55FA68E5B6.488B9732DBA56C6B3796A2C6A699558B5242B9C0&sver=3&mt=1439248269&fexp=9405994,9407942,9408710,9413138,9415365,9415485,9415884,9416023,9416126,9416494,9416837,9416898,9417123,9417336,9418153,9418204,9418235,9418394,9418781,9418898&upn=9B-5BeGHTMA&key=dg_yt0&ip=65.49.68.203&ipbits=0&expire=1439269994&sparams=ip,ipbits,expire,id,itag,source,requiressl,ms,pl,mv,mm,mn,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: 1-Drupal Tutorials - The Complete Guide To Omega 4 #22 - Changing Layouts With Panels Everywhere.f137.mp4
[download] 0.5% of 83.11MiB at 152.82KiB/s ETA 09:13^C

$ aria2c --all-proxy=127.0.0.1:9662 -x10 "https://r2---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=9e9b7f7df9adaf19&itag=137&source=youtube&requiressl=yes&mm=31&pl=24&mn=sn-xjpm-4g5e&ms=au&mv=m&ratebypass=yes&mime=video/mp4&gir=yes&clen=207001564&lmt=1390063632193243&dur=885.900&fexp=9408375,9408491,9408710,9409170,9410705,9415365,9415436,9415485,9415834,9416023,9416126,9417098,9417470,9417701,9418153,9418232,9418376,9418433,9418455&key=dg_yt0&mt=1439241104&sver=3&upn=kFcgYmGuol8&signature=0EBF17656CA9562FDB95CD4F3C7D18751C16B0D4.975139B59BF41B0583B8AD91C085CF0DF3A41F2E&ip=65.49.68.203&ipbits=0&expire=1439262824&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,pl,mn,ms,mv,ratebypass,mime,gir,clen,lmt,dur"
[#1 SIZE:384.0KiB/197.4MiB(0%) CN:5 SPD:182.4KiBs ETA:18m26s]^C

@gulbuhar commented on GitHub (Aug 10, 2015): yes I can download both with aria(direct) and youtube-dl using proxy, of course my proxy can do things over HTTPS (please notice that its a SOCKS-5 proxy / I dont know if its important or not) **$ youtube-dl --proxy 127.0.0.1:9662 --autonumber "0" -o "%(autonumber)s-%(title)s.%(ext)s" https://www.youtube.com/watch?v=jp70_OzYtY0 -v** [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--proxy', u'127.0.0.1:9662', u'--autonumber', u'0', u'-o', u'%(autonumber)s-%(title)s.%(ext)s', u'https://www.youtube.com/watch?v=jp70_OzYtY0', u'-v'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2015.08.09 [debug] Python version 2.7.9 - Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i3-3110M_CPU_@_2.40GHz-with-gentoo-2.2 [debug] exe versions: ffmpeg 2.6.3, ffprobe 2.6.3 [debug] Proxy map: {u'http': u'127.0.0.1:9662', u'https': u'127.0.0.1:9662'} [youtube] jp70_OzYtY0: Downloading webpage [youtube] jp70_OzYtY0: Downloading video info webpage [youtube] jp70_OzYtY0: Extracting video information [youtube] jp70_OzYtY0: Downloading DASH manifest [youtube] jp70_OzYtY0: Downloading DASH manifest [debug] Invoking downloader on 'https://r1---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=8e9ef4fcecd8b58d&itag=137&source=youtube&requiressl=yes&ms=au&pl=24&mv=m&mm=31&mn=sn-xjpm-4g5e&ratebypass=yes&mime=video/mp4&gir=yes&clen=87148403&lmt=1391851776132352&dur=442.701&signature=25A1B49908A8FC204D8539EBE69E0E55FA68E5B6.488B9732DBA56C6B3796A2C6A699558B5242B9C0&sver=3&mt=1439248269&fexp=9405994,9407942,9408710,9413138,9415365,9415485,9415884,9416023,9416126,9416494,9416837,9416898,9417123,9417336,9418153,9418204,9418235,9418394,9418781,9418898&upn=9B-5BeGHTMA&key=dg_yt0&ip=65.49.68.203&ipbits=0&expire=1439269994&sparams=ip,ipbits,expire,id,itag,source,requiressl,ms,pl,mv,mm,mn,ratebypass,mime,gir,clen,lmt,dur' [download] Destination: 1-Drupal Tutorials - The Complete Guide To Omega 4 #22 - Changing Layouts With Panels Everywhere.f137.mp4 **[download] 0.5% of 83.11MiB at 152.82KiB/s ETA 09:13^C** **$ aria2c --all-proxy=127.0.0.1:9662 -x10 "https://r2---sn-xjpm-4g5e.googlevideo.com/videoplayback?id=9e9b7f7df9adaf19&itag=137&source=youtube&requiressl=yes&mm=31&pl=24&mn=sn-xjpm-4g5e&ms=au&mv=m&ratebypass=yes&mime=video/mp4&gir=yes&clen=207001564&lmt=1390063632193243&dur=885.900&fexp=9408375,9408491,9408710,9409170,9410705,9415365,9415436,9415485,9415834,9416023,9416126,9417098,9417470,9417701,9418153,9418232,9418376,9418433,9418455&key=dg_yt0&mt=1439241104&sver=3&upn=kFcgYmGuol8&signature=0EBF17656CA9562FDB95CD4F3C7D18751C16B0D4.975139B59BF41B0583B8AD91C085CF0DF3A41F2E&ip=65.49.68.203&ipbits=0&expire=1439262824&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,pl,mn,ms,mv,ratebypass,mime,gir,clen,lmt,dur"** **[#1 SIZE:384.0KiB/197.4MiB(0%) CN:5 SPD:182.4KiBs ETA:18m26s]^C**
Author
Owner

@dstftw commented on GitHub (Aug 11, 2015):

$ youtube-dl --external-downloader aria2c --external-downloader-args "-x10 --all-proxy=127.0.0.1:9662" --autonumber "0" -o "%(autonumber)s-%(title)s.%(ext)s"

You should pass --proxy to youtube-dl as well.

@dstftw commented on GitHub (Aug 11, 2015): > $ youtube-dl --external-downloader aria2c --external-downloader-args "-x10 --all-proxy=127.0.0.1:9662" --autonumber "0" -o "%(autonumber)s-%(title)s.%(ext)s" You should pass `--proxy` to youtube-dl as well.
Author
Owner

@gulbuhar commented on GitHub (Aug 11, 2015):

Great, it works like a charm now. thanks.

@gulbuhar commented on GitHub (Aug 11, 2015): Great, it works like a charm now. thanks.
Author
Owner

@yan12125 commented on GitHub (Aug 12, 2015):

Closing. Feel free to open a new issue if there's any other problem.

@yan12125 commented on GitHub (Aug 12, 2015): Closing. Feel free to open a new issue if there's any other problem.
Author
Owner

@ghost commented on GitHub (Dec 20, 2021):

I had a similar issue on Linux related with aria2c, the error code 16 was caused by having the | character in the output name so make sure you're not using any illegal characters.

@ghost commented on GitHub (Dec 20, 2021): I had a similar issue on Linux related with aria2c, the error code 16 was caused by having the `|` character in the output name so make sure you're not using any illegal characters.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#5283
No description provided.