Commit 2904a672 authored by fimap.dev's avatar fimap.dev

Fixed problem that googlescanner returned no result. Big thanks to Mati from...

Fixed problem that googlescanner returned no result. Big thanks to Mati from http://www.bud24.pl/ for this patch.
parent 36619670
......@@ -101,9 +101,9 @@ class GoogleSearch(object):
search_info = self._extract_info(page)
if not self.results_info:
self.results_info = search_info
if self.num_results == 0:
self.eor = True
return []
#if self.num_results == 0:
# self.eor = True
# return []
results = self._extract_results(page)
if not results:
self.eor = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment