From e2fb20f64c5f35edba2be43b05a86a089474f202 Mon Sep 17 00:00:00 2001 From: Ryan Hitchman Date: Wed, 5 Oct 2011 00:27:17 -0500 Subject: [PATCH] fix wikipedia search (they changed the xml namespace) --- plugins/wikipedia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/wikipedia.py b/plugins/wikipedia.py index a83cd43..d82b882 100644 --- a/plugins/wikipedia.py +++ b/plugins/wikipedia.py @@ -20,7 +20,7 @@ def wiki(inp): x = http.get_xml(search_url, search=inp) - ns = '{http://opensearch.org/searchsuggest2}' + ns = '{http://www.mediawiki.org/xml/api/}' items = x.findall(ns + 'Section/' + ns + 'Item') if items == []: