mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Update idg.se
This commit is contained in:
parent
f789d18d05
commit
90b2912a49
@ -4,7 +4,7 @@ from calibre.web.feeds.news import BasicNewsRecipe
|
|||||||
|
|
||||||
class IDGse(BasicNewsRecipe):
|
class IDGse(BasicNewsRecipe):
|
||||||
title = 'IDG'
|
title = 'IDG'
|
||||||
__author__ = 'zapt0'
|
__author__ = 'Stanislav Khromov'
|
||||||
language = 'sv'
|
language = 'sv'
|
||||||
description = 'IDG.se'
|
description = 'IDG.se'
|
||||||
oldest_article = 1
|
oldest_article = 1
|
||||||
@ -15,6 +15,9 @@ class IDGse(BasicNewsRecipe):
|
|||||||
|
|
||||||
feeds = [(u'Dagens IDG-nyheter',u'http://feeds.idg.se/idg/ETkj?format=xml')]
|
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):
|
def print_version(self,url):
|
||||||
return url + '?articleRenderMode=print&m=print'
|
return url + '?articleRenderMode=print&m=print'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user