mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-07-27 22:04:15 +09:00
Update youtube_dl/downloader/external.py
Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
parent
fec4837e42
commit
90ed89d2d4
@ -220,8 +220,7 @@ class Aria2pFD(ExternalFD):
|
|||||||
return cls.__avail
|
return cls.__avail
|
||||||
|
|
||||||
def _call_downloader(self, tmpfilename, info_dict):
|
def _call_downloader(self, tmpfilename, info_dict):
|
||||||
import aria2p
|
aria2 = self.aria2p.API(
|
||||||
aria2 = aria2p.API(
|
|
||||||
aria2p.Client(
|
aria2p.Client(
|
||||||
host='http://localhost',
|
host='http://localhost',
|
||||||
port=6800,
|
port=6800,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user