diff --git a/adl.py b/adl.py index d05c4fe..ad18c12 100644 --- a/adl.py +++ b/adl.py @@ -257,6 +257,8 @@ def argument_parser(): help="Download instead of streaming") ap.add_argument("-t", "--test-providers", required=False, type=bool, nargs='?', const=True, default=False, help="Check the state of possible providers") + ap.add_argument("-c", "--check-show", required=False, + help="Check what provider has that one anime you wan't to watch. Ex: \033[0;36m$adl -c 'gegege 2018' -n \033[0m") ap.add_argument("-v", "--version", required=False, nargs='?', const=True, help="Display version and exit") @@ -274,6 +276,11 @@ def argument_parser(): subprocess.run("anime test") sys.exit() + # check if anime exists in any of the providers + if args["check_show"]: + subprocess.run("anime test '" + str(args["check_show"]) + "'") + sys.exit() + # get player if args["player"]: player = str(args["player"]) # get player from user diff --git a/fzf.txt b/fzf.txt deleted file mode 100644 index e69de29..0000000