using == rather than in
This commit is contained in:
@@ -275,11 +275,11 @@ def scrapper_manager(user: User) -> None:
|
||||
if re.search(r"main|instagram|kemono", ARGS.scrapper):
|
||||
skip_arg = "" if ARGS.flag_skip else " -o skip=true"
|
||||
parse_gallery(ARGS.scrapper, user)
|
||||
elif ARGS.scrapper in "push":
|
||||
elif ARGS.scrapper == "push":
|
||||
push_manager(user)
|
||||
elif re.search("^comic|manga", ARGS.scrapper):
|
||||
skip_arg = " --chapter-range 1" if ARGS.flag_skip else ""
|
||||
skip_arg += "-5" if ARGS.scrapper in "manga" else ""
|
||||
skip_arg += "-5" if ARGS.scrapper == "manga" else ""
|
||||
comic_manager(skip_arg, ARGS.scrapper)
|
||||
elif re.search("webcomic", ARGS.scrapper):
|
||||
webcomic_manager()
|
||||
|
||||
Reference in New Issue
Block a user