Debian Codegraph @

recipes/lomza.recipe

raw
1 from calibre.web.feeds.news import BasicNewsRecipe
2
3
4 class Lomza(BasicNewsRecipe):
5 title = '4Łomza'
6 __author__ = 'fenuks'
7 description = 'Regionalny portal. Najświeższe informacje z regionu, kulturalne, sportowe. Ogłoszenia, baza biznesu, forum.'
8 cover_url = 'http://www.4lomza.pl/i/logo4lomza_m.jpg'
9 language = 'pl'
10 oldest_article = 15
11 no_stylesheets = True
12 extra_css = '#foto {float: right; max-width: 200px; margin-left: 10px;} #fotogaleria > div {float:left;} .br {clear: both;}'
13 max_articles_per_feed = 100
14 remove_tags = [dict(name='div', attrs={'class': ['bxbanner', 'drukuj', 'wyslijznajomemu']})]
15 keep_only_tags = [dict(name='div', attrs={'id': 'srodek'})]
16 feeds = [('Łomża', 'http://feeds.feedburner.com/4lomza.pl')]