from calibre.web.feeds.news import BasicNewsRecipe import re from calibre.ebooks.BeautifulSoup import Comment class in4(BasicNewsRecipe): title = u'IN4.pl' oldest_article = 7 max_articles_per_feed = 100 __author__ = 'fenuks' description = u'Serwis Informacyjny - Aktualnosci, recenzje' category = 'IT' language = 'pl' index = 'http://www.in4.pl/' no_stylesheets = True remove_empty_feeds = True preprocess_regexps = [ (re.compile(u'