mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
30 lines
739 B
Python
30 lines
739 B
Python
#!/usr/bin/env python
|
|
__license__ = 'GPL v3'
|
|
__copyright__ = '2009, Darko Miletic <darko.miletic at gmail.com>'
|
|
'''
|
|
en.rian.ru
|
|
'''
|
|
|
|
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class Ria_eng(BasicNewsRecipe):
|
|
title = 'Sputnik News'
|
|
__author__ = 'Darko Miletic'
|
|
description = 'News from Russia in English'
|
|
language = 'en_RU'
|
|
category = 'news, politics, Russia'
|
|
oldest_article = 3
|
|
max_articles_per_feed = 100
|
|
no_stylesheets = True
|
|
use_embedded_content = False
|
|
encoding = 'utf-8'
|
|
auto_cleanup = True
|
|
|
|
conversion_options = {
|
|
'comment': description, 'tags': category, 'language': language
|
|
}
|
|
|
|
|
|
feeds = [(u'News', u'https://sputnikglobe.com/export/rss2/archive/index.xml')]
|