| 1 |
#!/usr/bin/env python |
| 2 |
# vim:fileencoding=utf-8 |
| 3 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 4 |
|
| 5 |
|
| 6 |
class AdvancedUserRecipe1718094419(BasicNewsRecipe): |
| 7 |
title = 'United Nations' |
| 8 |
language = 'en' |
| 9 |
__author__ = 'Spicy Poison' |
| 10 |
description = ( |
| 11 |
'The United Nations is a diplomatic and political international organization whose stated' |
| 12 |
' purposes are to maintain international peace and security, develop friendly relations among nations,' |
| 13 |
' achieve international cooperation, and serve as a centre for harmonizing the actions of nations.' |
| 14 |
' It is the world’s largest international organization.' |
| 15 |
) |
| 16 |
oldest_article = 30 |
| 17 |
max_articles_per_feed = 50 |
| 18 |
ignore_duplicate_articles = {'title', 'url'} |
| 19 |
encoding = 'utf-8' |
| 20 |
masthead_url = 'https://img.jagranjosh.com/imported/images/E/Others/UNLOGO.jpg' |
| 21 |
remove_empty_feeds = True |
| 22 |
auto_cleanup = True |
| 23 |
|
| 24 |
feeds = [ |
| 25 |
('Top Stories', 'https://news.un.org/feed/subscribe/en/news/all/rss.xml'), |
| 26 |
('Asia Pacific', 'https://news.un.org/feed/subscribe/en/news/region/asia-pacific/feed/rss.xml'), |
| 27 |
('Health', 'https://news.un.org/feed/subscribe/en/news/topic/health/feed/rss.xml'), |
| 28 |
('UN Affairs', 'https://news.un.org/feed/subscribe/en/news/topic/un-affairs/feed/rss.xml'), |
| 29 |
('Law and Crime Prevention', 'https://news.un.org/feed/subscribe/en/news/topic/law-and-crime-prevention/feed/rss.xml'), |
| 30 |
('Human Rights', 'https://news.un.org/feed/subscribe/en/news/topic/human-rights/feed/rss.xml'), |
| 31 |
('Humanitarian Aid', 'https://news.un.org/feed/subscribe/en/news/topic/humanitarian-aid/feed/rss.xml'), |
| 32 |
('Climate Change', 'https://news.un.org/feed/subscribe/en/news/topic/climate-change/feed/rss.xml'), |
| 33 |
('Culture and Education', 'https://news.un.org/feed/subscribe/en/news/topic/culture-and-education/feed/rss.xml'), |
| 34 |
('Economic Development', 'https://news.un.org/feed/subscribe/en/news/topic/economic-development/feed/rss.xml'), |
| 35 |
('Women', 'https://news.un.org/feed/subscribe/en/news/topic/women/feed/rss.xml'), |
| 36 |
('Peace and Security', 'https://news.un.org/feed/subscribe/en/news/topic/peace-and-security/feed/rss.xml'), |
| 37 |
('Migrants and Refugees', 'https://news.un.org/feed/subscribe/en/news/topic/migrants-and-refugees/feed/rss.xml'), |
| 38 |
('SDGs', 'https://news.un.org/feed/subscribe/en/news/topic/sdgs/feed/rss.xml'), |
| 39 |
] |