From f4d4a06f371d431dbefb8fcb65ecaca5e69fc152 Mon Sep 17 00:00:00 2001 From: WeijiangChen Date: Sun, 12 Mar 2023 22:45:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BC=8F=E6=94=B9=E4=BA=86=E4=B8=80=E4=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/core/eps_complete.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/core/eps_complete.py b/module/core/eps_complete.py index 6b1ede72..87c2a3c9 100644 --- a/module/core/eps_complete.py +++ b/module/core/eps_complete.py @@ -57,7 +57,8 @@ class FullSeasonGet: self.download_eps(data, download_client) def download_collection(self, data, link, download_client: DownloadClient): - torrents = self._get_rss.get_torrents(link) + with RequestContent() as req: + torrents = req.get_torrents(link) downloads = self.collect_season_torrents(data, torrents) logger.info(f"Starting download {data.get('official_title')}") for download in downloads: