Merge pull request #408 from Ercsion/master

Add parameter -p, specify the path
This commit is contained in:
Yoshiko2
2021-01-12 20:50:23 +08:00
committed by GitHub
2 changed files with 45 additions and 48 deletions

View File

@@ -69,7 +69,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))