Couple of trivial patches

This commit is contained in:
Miroslav Stampar
2019-06-04 13:04:31 +02:00
parent 3ac1283900
commit b6fbca05d5
4 changed files with 9 additions and 10 deletions

View File

@@ -132,7 +132,7 @@ def _search(dork):
regex = DUCKDUCKGO_REGEX
try:
req = _urllib.request.Request(url, data=data, headers=headers)
req = _urllib.request.Request(url, data=data, headers=requestHeaders)
conn = _urllib.request.urlopen(req)
requestMsg = "HTTP request:\nGET %s" % url