新增程序自检

This commit is contained in:
EstrellaXD
2023-05-11 14:37:07 +08:00
parent dfa4b2772a
commit 95e70d2138
6 changed files with 82 additions and 14 deletions

View File

@@ -19,7 +19,8 @@ class RequestContent(RequestURL):
def get_torrents(
self,
_url: str,
_filter: str = "|".join(settings.rss_parser.filter)) -> [TorrentInfo]:
_filter: str = "|".join(settings.rss_parser.filter)
) -> [TorrentInfo]:
soup = self.get_xml(_url)
torrent_titles = []
torrent_urls = []