mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
19 lines
493 B
Plaintext
19 lines
493 B
Plaintext
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_number.xml')]
|
|
|
|
|
|
def print_version(self, url):
|
|
return url + '?print=true'
|
|
|