From 4f79944b2452073ab197486c551a09d83217830f Mon Sep 17 00:00:00 2001 From: Terrtia Date: Tue, 25 Jul 2023 16:11:36 +0200 Subject: [PATCH] fix: [tools crawler] fix helper --- tools/crawler_add_task.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/crawler_add_task.py b/tools/crawler_add_task.py index 455a12fc..6b59242a 100755 --- a/tools/crawler_add_task.py +++ b/tools/crawler_add_task.py @@ -28,13 +28,13 @@ def check_frequency(value): if __name__ == "__main__": # TODO add c argument for config file - parser = argparse.ArgumentParser(description='Directory or file importer') + parser = argparse.ArgumentParser(description='Send an URL to the crawler - Create a crawler task') parser.add_argument('-u', '--url', type=str, help='URL to crawl', required=True) parser.add_argument('-k', '--key', type=str, help='AIL API Key', required=True) parser.add_argument('-a', '--ail', type=str, help='AIL URL') parser.add_argument('-d', '--depth', type=int, default=1, help='Depth limit') # TODO improve me parser.add_argument('--cookiejar', type=str, help='Cookiejar uuid') - parser.add_argument('-p', '--proxy', type=str, help='Proxy address to use, "web" and "tor" can be used as shortcut (web is used by default is )') + parser.add_argument('-p', '--proxy', type=str, help='Proxy address to use, "web" and "tor" can be used as shortcut (web is used by default if the domain isn\'t an onion)') group = parser.add_mutually_exclusive_group() group.add_argument('--har', dest='har', action='store_true', help='Save HAR')