mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
a86fc43ed4
commit
b86ebc076f
@ -5,19 +5,20 @@ from calibre.web.feeds.news import BasicNewsRecipe
|
|||||||
|
|
||||||
class OselCZ(BasicNewsRecipe):
|
class OselCZ(BasicNewsRecipe):
|
||||||
title = 'OSEL.cz'
|
title = 'OSEL.cz'
|
||||||
|
__author__ = 'spacekpe'
|
||||||
oldest_article = 100
|
oldest_article = 100
|
||||||
max_articles_per_feed = 100
|
max_articles_per_feed = 100
|
||||||
auto_cleanup = True
|
auto_cleanup = True
|
||||||
recursions = 1
|
recursions = 1
|
||||||
language = 'cze'
|
language = 'cs'
|
||||||
|
|
||||||
feeds = [
|
feeds = [
|
||||||
('OSEL.cz', 'http://www.osel.cz/rss/rss.php'),
|
('OSEL.cz', 'http://www.osel.cz/rss/rss.php'),
|
||||||
]
|
]
|
||||||
|
|
||||||
def print_version(self, url):
|
def print_version(self, url):
|
||||||
return url.replace('http://www.osel.cz/index.php?clanek=', 'http://www.osel.cz/tisk.php?clanek=')
|
return url.replace('http://www.osel.cz/index.php?clanek=', 'http://www.osel.cz/tisk.php?clanek=')
|
||||||
|
|
||||||
def get_cover_url(self):
|
def get_cover_url(self):
|
||||||
return 'http://www.osel.cz/themes/default/logo_osel.gif'
|
return 'http://www.osel.cz/themes/default/logo_osel.gif'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user