Debian Codegraph @

recipes/navy_times.recipe

raw
1 from calibre.web.feeds.news import BasicNewsRecipe
2
3
4 class NavyTimes(BasicNewsRecipe):
5 title = 'Army and Navy Times'
6 __author__ = 'jde'
7 __date__ = '16 May 2012'
8 __version__ = '1.0'
9 description = 'News of the U.S. Navy'
10 language = 'en'
11 publisher = 'NavyTimes.com'
12 category = 'news, U.S. Navy'
13 tags = 'news, U.S. Navy'
14 oldest_article = 7 # days
15 max_articles_per_feed = 25
16 publication_type = 'newspaper'
17 no_stylesheets = True
18 use_embedded_content = False
19 encoding = None
20 recursions = 0
21 needs_subscription = False
22 remove_javascript = True
23 remove_empty_feeds = True
24 auto_cleanup = True
25
26 feeds = [
27 ('Home page', 'https://www.navytimes.com/arc/outboundfeeds/rss/?outputType=xml'),
28 ('News', 'https://www.navytimes.com/arc/outboundfeeds/rss/category/news/?outputType=xml'),
29 ('Your Navy', 'https://www.navytimes.com/arc/outboundfeeds/rss/category/news/your-navy/?outputType=xml'),
30 ('Your Army', 'https://www.armytimes.com/arc/outboundfeeds/rss/category/news/your-army/?outputType=xml'),
31 ('Your Air Force', 'https://www.airforcetimes.com/arc/outboundfeeds/rss/category/news/your-air-force?outputType=xml'),
32 ('Your Marine Core', 'https://www.marinecorpstimes.com/arc/outboundfeeds/rss/category/news/your-marine-corps/?outputType=xml'),
33 ('Pentagon and Congress', 'https://www.navytimes.com/arc/outboundfeeds/rss/category/news/pentagon-congress/?outputType=xml'),
34 ('Pay and Benefits', 'https://www.navytimes.com/arc/outboundfeeds/rss/category/pay-benefits/?outputType=xml'),
35 ('Veterans', 'https://www.navytimes.com/arc/outboundfeeds/rss/category/veterans/?outputType=xml'),
36 ('Education and Transition', 'https://www.navytimes.com/arc/outboundfeeds/rss/category/education-transition/?outputType=xml'),
37 ('Flashpoints', 'https://www.navytimes.com/arc/outboundfeeds/rss/category/flashpoints/?outputType=xml'),
38 ]