From 99197b84c8196bc1e0a7eafb8ed5a9188091b395 Mon Sep 17 00:00:00 2001 From: Randy Date: Mon, 21 May 2012 22:52:31 -0400 Subject: [PATCH] Modified r_duck reg expr to skip sponsored links --- modules/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/search.py b/modules/search.py index bfc50bd..bc17ccc 100755 --- a/modules/search.py +++ b/modules/search.py @@ -136,7 +136,7 @@ def bing(phenny, input): bing.commands = ['bing'] bing.example = '.bing swhack' -r_duck = re.compile(r'nofollow" class="[^"]+" href="(.*?)">') +r_duck = re.compile(r'nofollow" class="[^"]+" href="(http.*?)">') def duck_search(query): query = query.replace('!', '')