| 1 |
#!/usr/bin/env python |
| 2 |
__license__ = 'GPL v3' |
| 3 |
__copyright__ = '2009, Darko Miletic <darko.miletic at gmail.com>' |
| 4 |
''' |
| 5 |
en.rian.ru |
| 6 |
''' |
| 7 |
|
| 8 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 9 |
|
| 10 |
|
| 11 |
class Ria_eng(BasicNewsRecipe): |
| 12 |
title = 'Sputnik News' |
| 13 |
__author__ = 'Darko Miletic' |
| 14 |
description = 'News from Russia in English' |
| 15 |
language = 'en_RU' |
| 16 |
category = 'news, politics, Russia' |
| 17 |
oldest_article = 3 |
| 18 |
max_articles_per_feed = 100 |
| 19 |
no_stylesheets = True |
| 20 |
use_embedded_content = False |
| 21 |
encoding = 'utf-8' |
| 22 |
auto_cleanup = True |
| 23 |
|
| 24 |
conversion_options = {'comment': description, 'tags': category, 'language': language} |
| 25 |
|
| 26 |
feeds = [('News', 'https://sputnikglobe.com/export/rss2/archive/index.xml')] |