|
|
@ -269,7 +269,6 @@ class WgetFD(ExternalFD):
|
|
|
|
class Aria2cFD(ExternalFD):
|
|
|
|
class Aria2cFD(ExternalFD):
|
|
|
|
AVAILABLE_OPT = '-v'
|
|
|
|
AVAILABLE_OPT = '-v'
|
|
|
|
SUPPORTED_PROTOCOLS = ('http', 'https', 'ftp', 'ftps', 'dash_frag_urls', 'm3u8_frag_urls')
|
|
|
|
SUPPORTED_PROTOCOLS = ('http', 'https', 'ftp', 'ftps', 'dash_frag_urls', 'm3u8_frag_urls')
|
|
|
|
_CAPTURE_STDERR = False
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@staticmethod
|
|
|
|
@staticmethod
|
|
|
|
def supports_manifest(manifest):
|
|
|
|
def supports_manifest(manifest):
|
|
|
@ -294,7 +293,7 @@ class Aria2cFD(ExternalFD):
|
|
|
|
return super()._call_downloader(tmpfilename, info_dict)
|
|
|
|
return super()._call_downloader(tmpfilename, info_dict)
|
|
|
|
|
|
|
|
|
|
|
|
def _make_cmd(self, tmpfilename, info_dict):
|
|
|
|
def _make_cmd(self, tmpfilename, info_dict):
|
|
|
|
cmd = [self.exe, '--no-conf', '--stderr=true', '--auto-save-interval=10',
|
|
|
|
cmd = [self.exe, '--no-conf', '--auto-save-interval=10',
|
|
|
|
'--console-log-level=warn', '--summary-interval=0', '--download-result=hide',
|
|
|
|
'--console-log-level=warn', '--summary-interval=0', '--download-result=hide',
|
|
|
|
'--http-accept-gzip=true', '--file-allocation=none', '-x16', '-j16', '-s16']
|
|
|
|
'--http-accept-gzip=true', '--file-allocation=none', '-x16', '-j16', '-s16']
|
|
|
|
if 'fragments' in info_dict:
|
|
|
|
if 'fragments' in info_dict:
|
|
|
|