Fix eps_complete.py

This commit is contained in:
EstrellaXD
2023-04-27 17:49:50 +08:00
parent 2f50d21b28
commit b5f2821925

View File

@@ -36,7 +36,7 @@ class FullSeasonGet:
keyword = self.init_eps_complete_search_str(data)
with RequestContent() as req:
torrents = req.get_torrents(f"{CUSTOM_URL}/RSS/Search?searchstr={keyword}")
return [torrent for torrent in torrents if data.title_raw in torrent.title]
return [torrent for torrent in torrents if data.title_raw in torrent.name]
@staticmethod
def collect_season_torrents(data: BangumiData, torrents):