Debian Codegraph @

recipes/niebezpiecznik.recipe

raw
1 from calibre.web.feeds.news import BasicNewsRecipe
2
3
4 class Niebezpiecznik_pl(BasicNewsRecipe):
5 title = 'Niebezpiecznik.pl'
6 __author__ = 'fenuks'
7 description = 'Niebezpiecznik.pl – o bezpieczeństwie i nie...'
8 category = 'hacking, IT'
9 language = 'pl'
10 oldest_article = 8
11 extra_css = '.entry {margin-top: 25px;}'
12 remove_attrs = ['style']
13 max_articles_per_feed = 100
14 no_stylesheets = True
15 remove_empty_feeds = True
16 cover_url = 'http://userlogos.org/files/logos/Karmody/niebezpiecznik_01.png'
17 remove_tags = [dict(name='div', attrs={'class': ['sociable']}), dict(name='h4'), dict(attrs={'class': 'similar-posts'})]
18 keep_only_tags = [dict(name='div', attrs={'class': ['title', 'entry']})]
19 feeds = [('Wiadomości', 'http://feeds.feedburner.com/niebezpiecznik/'), ('Blog', 'http://feeds.feedburner.com/niebezpiecznik/linkblog/')]