From 7f13b939f7a472cbbbc7b8225e3cd07aee4aea99 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 7 May 2016 21:02:38 -0700 Subject: [PATCH] ShrinkUrl: Update API URL, now serving HTTPS links Source: https://x0.no/api/ For reference, http://api.x0.no/ now redirects to https://x0.no/api/ --- plugins/ShrinkUrl/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ShrinkUrl/plugin.py b/plugins/ShrinkUrl/plugin.py index 9dbc30c21..54c21be18 100644 --- a/plugins/ShrinkUrl/plugin.py +++ b/plugins/ShrinkUrl/plugin.py @@ -229,7 +229,7 @@ class ShrinkUrl(callbacks.PluginRegexp): irc.error(str(e)) ur1 = thread(wrap(ur1, ['httpUrl'])) - _x0Api = 'http://api.x0.no/?%s' + _x0Api = 'https://x0.no/api/?%s' @retry def _getX0Url(self, url): try: