From 9da3f20671729f18d3f7e145fa9841f5c8d67dfc Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 16 Jan 2016 20:42:58 +0100 Subject: [PATCH] Fix git.io link shortening --- rssnotify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rssnotify.py b/rssnotify.py index 7c8189f..fad2fce 100755 --- a/rssnotify.py +++ b/rssnotify.py @@ -101,11 +101,11 @@ def rsscheck(phenny, input): if rssnotify["show_commit_link"]: if rssnotify["use_git.io"]: # Side note: git.io only works with *.github.com links - l, code = web.post("http://git.io/create", {'url': feed_entry.link}) + l, code = web.post("https://git.io/create", {'url': feed_entry.link}) if code == 200: l = str(l, 'utf-8') if not ' ' in l: # If there are spaces it's an error - commit_link = "http://git.io/" + l + commit_link = "https://git.io/" + l else: commit_link = feed_entry.link else: