mirror of
https://github.com/g0ldyy/comet.git
synced 2026-01-12 01:16:12 +01:00
Merge pull request #152 from davidemarcoli/bugfix/exception-on-empty-parsed-title
fix: title parsing
This commit is contained in:
@@ -434,7 +434,8 @@ async def filter(torrents: list, name: str, year: int):
|
||||
title = title.split("\n")[1]
|
||||
|
||||
parsed = parse(title)
|
||||
if not title_match(name, parsed.parsed_title):
|
||||
|
||||
if parsed.parsed_title and not title_match(name, parsed.parsed_title):
|
||||
results.append((index, False))
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user