1from calibre.web.feeds.news import BasicNewsRecipe 2 3 4class AdvancedUserRecipe1286819935(BasicNewsRecipe): 5 title = u'Novaya Gazeta' 6 __author__ = 'muwa' 7 oldest_article = 7 8 max_articles_per_feed = 100 9 no_stylesheets = True 10 conversion_options = {'linearize_tables': True} 11 remove_attributes = ['style'] 12 language = 'ru' 13 14 feeds = [(u'Articles', u'http://www.novayagazeta.ru/rss/all.xml')] 15 16 def print_version(self, url): 17 return '%s%s' % (url, '?print=1') 18