from calibre.web.feeds.news import BasicNewsRecipe class Sekurak(BasicNewsRecipe): title = u'Sekurak' __author__ = 'fenuks' description = u'Wiadomości z dziedziny bezpieczeństwa' category = 'it, security' language = 'pl' cover_url = 'http://www.securitum.pl/aktualnosci/sekurak.pl/image' masthead_url = '' use_embedded_content = False oldest_article = 7 max_articles_per_feed = 100 no_stylesheets = True remove_empty_feeds = True remove_javascript = True remove_attributes = ['style', 'font'] ignore_duplicate_articles = {'title', 'url'} keep_only_tags = [dict(id='articleContent')] feeds = [(u'Wpisy', u'http://feeds.feedburner.com/sekurak')]