Skip to content

Commit

Permalink
Merge pull request #1854 from sopel-irc/fix-bing-again
Browse files Browse the repository at this point in the history
search: Bing regex needs to be less specific
  • Loading branch information
dgw authored May 1, 2020
2 parents 3b5dfdd + 9467c45 commit 5877bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sopel/modules/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def formatnumber(n):
return ''.join(parts)


r_bing = re.compile(r'<ol id="b_results"><li(?: class="b_algo")?><h2><a href="([^"]+)"')
r_bing = re.compile(r'<li(?: class="b_algo")?><h2><a href="([^"]+)"')


def bing_search(query, lang='en-US'):
Expand Down

0 comments on commit 5877bcd

Please sign in to comment.