Fix: "Perhaps http" in output message

This commit is contained in:
yoshiko2
2023-05-04 04:47:50 +08:00
parent a3e4103336
commit c2e00e752f

View File

@@ -168,7 +168,7 @@ class Scraping:
other_sources = sources[sources.index(other_json_data['source']) + 1:]
except:
pass
# Return if data not found in all sources
if not json_data:
print(f'[-]Movie Number [{number}] not found!')
@@ -264,4 +264,8 @@ class Scraping:
return False
if data["number"] is None or data["number"] == "" or data["number"] == "null":
return False
if (data["cover"] is None or data["cover"] == "" or data["cover"] == "null") \
and (data["cover_small"] is None or data["cover_small"] == "" or
data["cover_small"] == "null"):
return False
return True