Update The Walrun Magazine

This commit is contained in:
Kovid Goyal 2017-11-19 07:44:57 +05:30
parent f535aa7722
commit 474dbd9be2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -10,4 +10,10 @@ class AdvancedUserRecipe1371743239(BasicNewsRecipe):
max_articles_per_feed = 100 max_articles_per_feed = 100
auto_cleanup = True 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