From 474dbd9be24de7b1cfe234f88219aead8332b4cc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 19 Nov 2017 07:44:57 +0530 Subject: [PATCH] Update The Walrun Magazine --- recipes/walrusmag.recipe | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/recipes/walrusmag.recipe b/recipes/walrusmag.recipe index e5bfb92d03..a1d53432f4 100644 --- a/recipes/walrusmag.recipe +++ b/recipes/walrusmag.recipe @@ -10,4 +10,10 @@ class AdvancedUserRecipe1371743239(BasicNewsRecipe): max_articles_per_feed = 100 auto_cleanup = True - feeds = [(u'The Walrus Mag', u'http://thewalrus.ca/feed/')] + feeds = [(u'The Walrus Mag', u'https://thewalrus.ca/feed/')] + + def get_article_url(self, article): + ans = BasicNewsRecipe.get_article_url(self, article) + if ans and ans.startswith('/'): + ans = 'https://thewalrus.ca' + ans + return ans