From f70f34fd4f10ae58d80e58e8584dab0546699704 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 31 May 2015 23:57:12 +0300 Subject: [PATCH] Use https for Wikipedia --- phd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phd.py b/phd.py index 7d9cf13..1e884cf 100644 --- a/phd.py +++ b/phd.py @@ -101,10 +101,10 @@ class phd(Template): 800x600, 1024x800""" % {"img_name": img_name} def wikipedia(self, query): - return "http://en.wikipedia.org/wiki/%s" % quote_string(query.replace(' ', '_'), ext_safe=',') + return "https://en.wikipedia.org/wiki/%s" % quote_string(query.replace(' ', '_'), ext_safe=',') def wikipedia_ru(self, query): - return "http://ru.wikipedia.org/wiki/%s" % quote_string(query.replace(' ', '_'), ext_safe=',') + return "https://ru.wikipedia.org/wiki/%s" % quote_string(query.replace(' ', '_'), ext_safe=',') def nigma(self, query): return "http://www.nigma.ru/index.php?s=%s" % quote_string(query) -- 2.39.5