Add parameter -p, specify the path

This commit is contained in:
Ercsion
2021-01-11 23:27:50 +08:00
parent e0117a7a16
commit d086436c3d
2 changed files with 45 additions and 48 deletions

View File

@@ -64,7 +64,9 @@ def get_html(url, cookies: dict = None, ua: str = None, return_type: str = None)
return result.content
else:
return result.text
except requests.exceptions.ProxyError:
print("[-]Proxy error! Please check your Proxy")
return
except Exception as e:
print("[-]Connect retry {}/{}".format(i + 1, retry_count))
print("[-]" + str(e))