Hello everyone!
There are some Russian recipes that don't work in their current versions
For example Lenta, but this simple version generated using the GUI works (it doesn't show header pictures but that is not a big deal imo):
Code:
#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1645563203(BasicNewsRecipe):
title = 'Lenta.ru - Новости'
oldest_article = 7
max_articles_per_feed = 100
auto_cleanup = True
language = 'ru'
feeds = [
('Lenta.ru - Новости России и мира сегодня', 'https://lenta.ru/rss/'),
]
For AIF it is the same, the GUI generated version does not download the cluttered social media symbols for example of the current implementation:
Code:
#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1645564525(BasicNewsRecipe):
title = 'Аргументы и Факты - aif.ru'
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'),
]