From c13a95d88b0461e3fed459c76dcb130b6bf19dd6 Mon Sep 17 00:00:00 2001 From: Paul Walko Date: Sat, 11 Feb 2017 06:31:44 +0000 Subject: [PATCH] fix .g search regex --- modules/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/search.py b/modules/search.py index 6a02e90..c031851 100644 --- a/modules/search.py +++ b/modules/search.py @@ -11,7 +11,7 @@ import re import web -r_google = re.compile(r'href="\/url\?q=(http.*?)\/&') +r_google = re.compile(r'href="\/url\?q=(http.*?)&') def google_search(query): query = web.quote(query)