Debian Codegraph @

recipes/michalkiewicz.recipe

raw
1 #!/usr/bin/env python
2
3 __license__ = 'GPL v3'
4 __copyright__ = '2010, Tomasz Dlugosz <[email protected]>'
5 '''
6 michalkiewicz.pl
7 '''
8
9 from calibre.web.feeds.news import BasicNewsRecipe
10
11
12 class michalkiewicz(BasicNewsRecipe):
13 title = 'Stanis\u0142aw Michalkiewicz'
14 description = 'Strona autorska * felietony * artyku\u0142y * komentarze'
15 __author__ = 'Tomasz D\u0142ugosz'
16 language = 'pl'
17 oldest_article = 7
18 max_articles_per_feed = 100
19 no_stylesheets = True
20
21 keep_only_tags = [dict(name='div', attrs={'class': 'modul_srodek'})]
22 remove_tags = [dict(name='ul', attrs={'class': 'menu'})]
23
24 feeds = [('Teksty', 'http://www.michalkiewicz.pl/rss.xml')]