mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 23:35:14 +01:00
17 lines
495 B
Text
17 lines
495 B
Text
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class AdvancedUserRecipe1286819935(BasicNewsRecipe):
|
|
title = u'Novaya Gazeta'
|
|
__author__ = 'muwa'
|
|
oldest_article = 7
|
|
max_articles_per_feed = 100
|
|
no_stylesheets = True
|
|
conversion_options = {'linearize_tables': True}
|
|
remove_attributes = ['style']
|
|
language = 'ru'
|
|
|
|
feeds = [(u'Articles', u'http://www.novayagazeta.ru/rss/all.xml')]
|
|
|
|
def print_version(self, url):
|
|
return '%s%s' % (url, '?print=1')
|