Refactored, changed to httx and async instead of requests and threads
This commit is contained in:
parent
56b850dc4f
commit
2d2afe7930
5 changed files with 84 additions and 90 deletions
|
@ -2,9 +2,7 @@
|
|||
from argparse import ArgumentParser
|
||||
|
||||
argparser = ArgumentParser(description="Map all links on a site (and links on resulting sites)")
|
||||
|
||||
argparser.add_argument("url", help="The URL of the site you want to start from")
|
||||
|
||||
argparser.add_argument("--dump", action="store_true", help="Only output the found connections to the console and exit")
|
||||
argparser.add_argument("--max-depth", metavar="N", type=int, help="The maximum depth at which links will be followed (default: 3)", default=3)
|
||||
argparser.add_argument("--max-links-per-site", metavar="N", type=int, help="The maximum amount of links on a page that will be included (default: 3)", default=3)
|
||||
|
|
Reference in a new issue