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 bfc9378 commit c471b81Copy full SHA for c471b81
1 file changed
lib/core/option.py
@@ -946,7 +946,7 @@ def __setHTTPUserAgent():
946
if __count == 1:
947
__userAgent = kb.userAgents[0]
948
else:
949
- __userAgent = kb.userAgents[randomRange(stop=__count)]
+ __userAgent = kb.userAgents[randomRange(stop=__count-1)]
950
951
__userAgent = sanitizeStr(__userAgent)
952
conf.httpHeaders.append(("User-Agent", __userAgent))
0 commit comments