Fix: "Perhaps http" in output message
This commit is contained in:
@@ -168,7 +168,7 @@ class Scraping:
|
|||||||
other_sources = sources[sources.index(other_json_data['source']) + 1:]
|
other_sources = sources[sources.index(other_json_data['source']) + 1:]
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# Return if data not found in all sources
|
# Return if data not found in all sources
|
||||||
if not json_data:
|
if not json_data:
|
||||||
print(f'[-]Movie Number [{number}] not found!')
|
print(f'[-]Movie Number [{number}] not found!')
|
||||||
@@ -264,4 +264,8 @@ class Scraping:
|
|||||||
return False
|
return False
|
||||||
if data["number"] is None or data["number"] == "" or data["number"] == "null":
|
if data["number"] is None or data["number"] == "" or data["number"] == "null":
|
||||||
return False
|
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
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user