Update youtube_dl/downloader/external.py

Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
teddy171 2023-02-08 07:42:35 +08:00 committed by GitHub
parent fec4837e42
commit 90ed89d2d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,8 +220,7 @@ class Aria2pFD(ExternalFD):
return cls.__avail
def _call_downloader(self, tmpfilename, info_dict):
import aria2p
aria2 = aria2p.API(
aria2 = self.aria2p.API(
aria2p.Client(
host='http://localhost',
port=6800,