from calibre.web.feeds.news import BasicNewsRecipe class DziennikBaltycki(BasicNewsRecipe): title = u'Dziennik Ba\u0142tycki' __author__ = 'fenuks' description = u'Gazeta Regionalna Dziennik Bałtycki. Najnowsze Wiadomości Trójmiasto i Wiadomości Pomorskie. Czytaj!' category = 'newspaper' language = 'pl' encoding = 'iso-8859-2' masthead_url = 'http://s.polskatimes.pl/g/logo_naglowek/dziennikbaltycki.png?24' oldest_article = 7 max_articles_per_feed = 100 remove_empty_feeds= True no_stylesheets = True use_embedded_content = False ignore_duplicate_articles = {'title', 'url'} #preprocess_regexps = [(re.compile(ur'Czytaj także:.*?', re.DOTALL), lambda match: ''), (re.compile(ur',Czytaj też:.*?', re.DOTALL), lambda match: ''), (re.compile(ur'Zobacz także:.*?', re.DOTALL), lambda match: ''), (re.compile(ur'