holehe icon indicating copy to clipboard operation
holehe copied to clipboard

timeout argument is not configured with type=int

Open guylando opened this issue 1 year ago • 0 comments

In core.py maincore function

parser.add_argument("-T","--timeout", default=10, required=False,dest="timeout", should be parser.add_argument("-T","--timeout", type=int, default=10, required=False,dest="timeout",

or otherwise the argument is considered a string and then "client = httpx.AsyncClient(timeout=timeout)" produces a client which fails on all requests.

guylando avatar Sep 01 '22 07:09 guylando