Add WHOOGLE_RESULTS_PER_PAGE
, allowing you to specify how much results you want per page. The default is 10.
This commit is contained in:
parent
19e89de5d9
commit
8a0a4cbade
|
@ -9,7 +9,7 @@ import os
|
|||
from stem import Signal, SocketError
|
||||
from stem.control import Controller
|
||||
|
||||
SEARCH_URL = 'https://www.google.com/search?gbv=1&q='
|
||||
SEARCH_URL = 'https://www.google.com/search?gbv=1&num='+str(os.getenv('WHOOGLE_RESULTS_PER_PAGE',10))+'&q='
|
||||
MAPS_URL = 'https://maps.google.com/maps'
|
||||
AUTOCOMPLETE_URL = ('https://suggestqueries.google.com/'
|
||||
'complete/search?client=toolbar&')
|
||||
|
|
Loading…
Reference in New Issue
Block a user