|
|
@ -556,7 +556,7 @@ def main():
|
|
|
|
action="store_true", default=False,
|
|
|
|
action="store_true", default=False,
|
|
|
|
help="Force the use of the local data.json file.")
|
|
|
|
help="Force the use of the local data.json file.")
|
|
|
|
|
|
|
|
|
|
|
|
parser.add_argument("--nsfw", "-n",
|
|
|
|
parser.add_argument("--nsfw",
|
|
|
|
action="store_true", default=False,
|
|
|
|
action="store_true", default=False,
|
|
|
|
help="Include checking of NSFW sites from default list. Default False")
|
|
|
|
help="Include checking of NSFW sites from default list. Default False")
|
|
|
|
|
|
|
|
|
|
|
@ -620,11 +620,7 @@ def main():
|
|
|
|
print(f"ERROR: {error}")
|
|
|
|
print(f"ERROR: {error}")
|
|
|
|
sys.exit(1)
|
|
|
|
sys.exit(1)
|
|
|
|
|
|
|
|
|
|
|
|
print("")
|
|
|
|
if not args.nsfw:
|
|
|
|
if args.nsfw:
|
|
|
|
|
|
|
|
print("Including NSFW sites")
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
print("Excluding NSFW sites")
|
|
|
|
|
|
|
|
sites.remove_nsfw_sites()
|
|
|
|
sites.remove_nsfw_sites()
|
|
|
|
|
|
|
|
|
|
|
|
# Create original dictionary from SitesInformation() object.
|
|
|
|
# Create original dictionary from SitesInformation() object.
|
|
|
|