From 211073fc5397a1b0cbdaf9d537c00903ce44a5fb Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Sun, 10 Sep 2017 10:32:47 +0200 Subject: [PATCH] Remove unused file --- downloader.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 downloader.py diff --git a/downloader.py b/downloader.py deleted file mode 100755 index 7c38171..0000000 --- a/downloader.py +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env python3 - -def argparser(): - parser = argparse.ArgumentParser() - parser.add_argument("url", type=str, nargs="+", help="photo URL as copied from message window") - group = parser.add_mutually_exclusive_group() - group.add_argument("-s", "--sender", type=str, help="name of the sender, puts images into subdirectory") - group.add_argument("-g", "--get-urls", help="get URLs only, don't download", action="store_true") - group2 = parser.add_mutually_exclusive_group() - group2.add_argument("-S", "--shut-up", help="don't output any notices and warnings", action="store_true") - group2.add_argument("-v", "--verbose", help="more verbose output", action="store_true") - return parser.parse_args() - -if __name__ == "__main__": - args = argparser() - for url in args.url: - phototools.processURL(url, args.sender, args.get_urls, args.verbose, args.shut_up)