From ce2d548ff480e9b79c4ed08ce0b783581123e702 Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Fri, 15 Jun 2012 20:04:29 -0700 Subject: [PATCH] switch wikipedia to https --- modules/wikipedia.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/wikipedia.py b/modules/wikipedia.py index fa1a6f2..c18bf68 100644 --- a/modules/wikipedia.py +++ b/modules/wikipedia.py @@ -10,9 +10,9 @@ http://inamidst.com/phenny/ import re, urllib.request, urllib.parse, urllib.error, gzip, io import wiki -wikiapi = 'http://en.wikipedia.org/w/api.php?action=query&list=search&srsearch={0}&limit=1&prop=snippet&format=json' -wikiuri = 'http://en.wikipedia.org/wiki/{0}' -wikisearch = 'http://en.wikipedia.org/wiki/Special:Search?' \ +wikiapi = 'https://en.wikipedia.org/w/api.php?action=query&list=search&srsearch={0}&limit=1&prop=snippet&format=json' +wikiuri = 'https://en.wikipedia.org/wiki/{0}' +wikisearch = 'https://en.wikipedia.org/wiki/Special:Search?' \ + 'search={0}&fulltext=Search' def wik(phenny, input):