search: fix bing regex

master
mutantmonkey 2016-03-06 14:49:23 -08:00
parent 1934dcc6d8
commit 24bf71131f
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ def gcs(phenny, input):
gcs.commands = ['gcs', 'comp'] gcs.commands = ['gcs', 'comp']
gcs.example = '.gcs Ronaldo Messi' gcs.example = '.gcs Ronaldo Messi'
r_bing = re.compile(r'<h3><a href="([^"]+)"') r_bing = re.compile(r'<h2><a href="([^"]+)"')
def bing_search(query, lang='en-GB'): def bing_search(query, lang='en-GB'):
query = web.quote(query) query = web.quote(query)