From 90b2912a49cbd7a631e3f7f7b835e405e56f7c10 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 13 Mar 2012 08:27:22 +0530 Subject: [PATCH] Update idg.se --- recipes/idg_se.recipe | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes/idg_se.recipe b/recipes/idg_se.recipe index e5f0203e09..155c6647d3 100644 --- a/recipes/idg_se.recipe +++ b/recipes/idg_se.recipe @@ -4,7 +4,7 @@ from calibre.web.feeds.news import BasicNewsRecipe class IDGse(BasicNewsRecipe): title = 'IDG' - __author__ = 'zapt0' + __author__ = 'Stanislav Khromov' language = 'sv' description = 'IDG.se' oldest_article = 1 @@ -15,6 +15,9 @@ class IDGse(BasicNewsRecipe): feeds = [(u'Dagens IDG-nyheter',u'http://feeds.idg.se/idg/ETkj?format=xml')] + def get_article_url(self, article): + return article.get('guid', None) + def print_version(self,url): return url + '?articleRenderMode=print&m=print'