mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 10:54:53 +02:00
Novaya Gazeta by muwa
This commit is contained in:
parent
ebecf86916
commit
80bf40ba5f
1 changed files with 18 additions and 0 deletions
18
resources/recipes/novaya_gazeta.recipe
Normal file
18
resources/recipes/novaya_gazeta.recipe
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
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'
|
||||
|
||||
Loading…
Reference in a new issue