[10] fix reciperr error

This commit is contained in:
meisnate12 2024-04-30 17:03:37 -04:00
parent d121350d80
commit e9c24af177
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
2.0.0-develop9
2.0.0-develop10

View file

@ -29,7 +29,7 @@ class Reciperr:
name = "StevenLu" if method == "stevenlu_popular" else "Reciperr"
logger.info(f"Processing {name} Movies")
if method == "reciperr_list":
ids = [(i["imdb_id"], "imdb") for i in self._request(data)]
ids = [(i["imdb_id"], "imdb") for i in self._request(data) if "imdb_id" in i]
elif method == "stevenlu_popular":
ids = [(i["imdb_id"], "imdb") for i in self._request(stevenlu_url, name="StevenLu")]
else: