mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-20 23:50:48 +01:00
Fixed bug in googlesite.
This commit is contained in:
parent
b1e95f8b64
commit
d7bdb77538
@ -134,7 +134,8 @@ class GooglePrivmsg(callbacks.Privmsg):
|
|||||||
|
|
||||||
Searches Google on a specific site.
|
Searches Google on a specific site.
|
||||||
"""
|
"""
|
||||||
searchString = 'site:%s %s' % privmsgs.getArgs(args, needed=2)
|
(site, s) = privmsgs.getArgs(args, needed=2)
|
||||||
|
searchString = 'site:%s %s' % (site, s)
|
||||||
data = google.doGoogleSearch(searchString,
|
data = google.doGoogleSearch(searchString,
|
||||||
language='lang_en',
|
language='lang_en',
|
||||||
safeSearch=1)
|
safeSearch=1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user