from calibre.web.feeds.news import BasicNewsRecipe class Kresy(BasicNewsRecipe): title = u'Kresy' __author__ = 'fenuks' description = u'portal społeczności kresowej' language = 'pl' oldest_article = 7 max_articles_per_feed = 100 no_stylesheets = True keep_only_tags = [dict(name='div', attrs={'class': ['big-slider big-preview single-big', 'entry-content-wrapper clearfix standard-content']})] remove_tags = [dict(attrs={'class': ['entry-footer', 'kresy_donate']})] feeds = [(u'Wszystkie', u'https://www.kresy.pl/rss')]