mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-22 22:34:01 -07:00
Update youtube_dl/downloader/external.py
Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
parent
fec4837e42
commit
90ed89d2d4
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue