Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 072e088 commit 7751346Copy full SHA for 7751346
1 file changed
lib/request/connect.py
@@ -464,8 +464,8 @@ def getPage(**kwargs):
464
elif "URLError" in tbMsg or "error" in tbMsg:
465
warnMsg = "unable to connect to the target url"
466
elif "BadStatusLine" in tbMsg:
467
- warnMsg = "the target url responded with an unknown HTTP "
468
- warnMsg += "status code, try to force the HTTP User-Agent "
+ warnMsg = "connection dropped or unknown HTTP "
+ warnMsg += "status code received. Try to force the HTTP User-Agent "
469
warnMsg += "header with option '--user-agent' or switch '--random-agent'"
470
elif "IncompleteRead" in tbMsg:
471
warnMsg = "there was an incomplete read error while retrieving data "
0 commit comments