better error message

This commit is contained in:
meisnate12 2021-12-17 18:21:16 -05:00
parent 856b96f819
commit ca7b14fa35

View file

@ -50,7 +50,6 @@ class FlixPatrol:
if len(ids) > 0 and ids[0]:
if "https://www.themoviedb.org" in ids[0]:
return util.regex_first_int(ids[0].split("https://www.themoviedb.org")[1], "TMDB Movie ID")
raise Failed(f"FlixPatrol Error: TMDb Movie ID not found in {ids[0]}")
raise Failed(f"FlixPatrol Error: TMDb Movie ID not found at {flixpatrol_url}")
def _parse_list(self, list_url, language, is_movie, limit=0):