Debian Codegraph @

recipes/simple_flying.recipe

raw
1 #!/usr/bin/env python
2 # vim:fileencoding=utf-8
3 from calibre.web.feeds.news import BasicNewsRecipe
4
5
6 class AdvancedUserRecipe1718370158(BasicNewsRecipe):
7 title = 'Simple Flying'
8 language = 'en'
9 __author__ = 'Spicy Poison'
10 description = (
11 'Simple Flying started in 2018 and has soared to prominence as the world’s'
12 ' leading digital publication dedicated to aviation news. Their extensive coverage spans commercial,'
13 'military, and private aviation sectors, exploring everything from the latest developments in airline'
14 ' and manufacturer news to insights into the smallest aviation startups.'
15 )
16 publisher = 'Valnet Publishing Group'
17 oldest_article = 7
18 max_articles_per_feed = 50
19 no_stylesheets = True
20 use_embedded_content = False
21 ignore_duplicate_articles = {'title', 'url'}
22 encoding = 'utf-8'
23 masthead_url = 'https://www.valnetinc.com/images/brand/sf-logo-full-colored-dark.svg'
24 remove_empty_feeds = True
25 auto_cleanup = True
26
27 feeds = [
28 # Features
29 ('Analysis', 'https://simpleflying.com/feed/category/analysis/'),
30 ('History', 'https://simpleflying.com/feed/category/history/'),
31 ('Exclusives', 'https://simpleflying.com/feed/category/exclusives/'),
32 # By Region
33 ('Asia', 'https://simpleflying.com/feed/category/asia/'),
34 ('Europe', 'https://simpleflying.com/feed/category/europe/'),
35 ('North America', 'https://simpleflying.com/feed/category/north-america/'),
36 ('Africa', 'https://simpleflying.com/feed/category/africa/'),
37 ('Rest of World', 'https://simpleflying.com/feed/category/rest-of-world/'),
38 # Travel
39 ('Trip Reports', 'https://simpleflying.com/feed/category/trip-reports/'),
40 ('Passanger Experience', 'https://simpleflying.com/feed/category/passenger-experience/'),
41 ('Private Aviation', 'https://simpleflying.com/feed/category/private-aviation/'),
42 ('Airline Loyalty', 'https://simpleflying.com/feed/category/loyalty/'),
43 ]