We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed8b1c7 commit 484a8deCopy full SHA for 484a8de
1 file changed
backend/src/module/network/request_contents.py
@@ -23,10 +23,8 @@ async def get_torrents(
23
if soup:
24
parsed_items = rss_parser(soup)
25
torrents: list[Torrent] = []
26
- if _filter is None:
27
- _filter = "|".join(settings.rss_parser.filter)
28
for _title, torrent_url, homepage in parsed_items:
29
- if re.search(_filter, _title) is None:
+ if _filter is None or re.search(_filter, _title) is None:
30
torrents.append(
31
Torrent(name=_title, url=torrent_url, homepage=homepage)
32
)
0 commit comments