From 64692b422f4e54fbba84d0ab891d5658a6b9cf10 Mon Sep 17 00:00:00 2001 From: JohnserfSeed Date: Wed, 18 Dec 2024 00:35:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BA=86=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E5=99=A8=E5=B9=B6=E5=8F=91=E9=99=90=E5=88=B6=E4=B8=8D?= =?UTF-8?q?=E8=B5=B7=E4=BD=9C=E7=94=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- f2/dl/base_downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/f2/dl/base_downloader.py b/f2/dl/base_downloader.py index 3391f60f..d73744a9 100644 --- a/f2/dl/base_downloader.py +++ b/f2/dl/base_downloader.py @@ -35,7 +35,7 @@ class BaseDownloader(BaseCrawler): def __init__(self, kwargs: dict = ...): proxies = kwargs.get("proxies", {"http://": None, "https://": None}) self.headers = kwargs.get("headers") | {"Cookie": kwargs["cookie"]} - super().__init__(proxies=proxies, crawler_headers=self.headers) + super().__init__(kwargs, proxies=proxies, crawler_headers=self.headers) self.progress = RichConsoleManager().progress self.download_tasks = []