Incoperate PR #178 changes plus a few tweaks

This commit is contained in:
L1ghtn1ng 2019-02-09 22:36:50 +00:00
parent 330fb19847
commit c2e9c4578b

View file

@ -26,7 +26,7 @@ def do_search(self):
'Accept-Language': 'en-us,en',
'User-agent': Core.get_user_agent()
}
h = requests.get(url=('http://'+self.server + '/search?q=%40' + self.word + '&count=50&first=' + str(self.counter)), headers=headers)
h = requests.get(url=('https://' + self.server + '/search?q=%40"' + self.word + '"&count=50&first=' + str(self.counter)), headers=headers)
self.results = h.text
self.totalresults += self.results