mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
25 lines
933 B
Python
25 lines
933 B
Python
#!/usr/bin/env python
|
|
# vim:fileencoding=utf-8
|
|
from __future__ import unicode_literals
|
|
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class AdvancedUserRecipe1645564525(BasicNewsRecipe):
|
|
title = 'Аргументы и Факты - aif.ru'
|
|
__author__ = 'MrBeef12'
|
|
oldest_article = 7
|
|
max_articles_per_feed = 100
|
|
auto_cleanup = True
|
|
language = 'ru'
|
|
|
|
feeds = [
|
|
('ПОЛИТИКА', 'https://aif.ru/rss/politics.php'),
|
|
('ДЕНЬГИ', 'https://aif.ru/rss/money.php'),
|
|
('ОБЩЕСТВО', 'https://aif.ru/rss/society.php'),
|
|
('ЗДОРОВЬЕ', 'https://aif.ru/rss/health.php'),
|
|
('КУЛЬТУРА', 'https://aif.ru/rss/culture.php'),
|
|
('СПОРТ', 'https://aif.ru/rss/sport.php'),
|
|
('АВТОМОБИЛИ', 'https://aif.ru/rss/automobile.php'),
|
|
('НЕДВИЖИМОСТЬ', 'https://aif.ru/rss/realty.php'),
|
|
]
|