[10] fix reciperr error

pull/2024/head
meisnate12 8 months ago
parent d121350d80
commit e9c24af177

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

@ -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:

Loading…
Cancel
Save