calibre/recipes/simple_flying.recipe

44 lines
2.0 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1718370158(BasicNewsRecipe):
title = 'Simple Flying'
language = 'en'
__author__ = 'Spicy Poison'
description = (
'Simple Flying started in 2018 and has soared to prominence as the worlds'
' leading digital publication dedicated to aviation news. Their extensive coverage spans commercial,'
'military, and private aviation sectors, exploring everything from the latest developments in airline'
' and manufacturer news to insights into the smallest aviation startups.')
publisher = 'Valnet Publishing Group'
oldest_article = 7
max_articles_per_feed = 50
no_stylesheets = True
use_embedded_content = False
ignore_duplicate_articles = {'title', 'url'}
encoding = 'utf-8'
masthead_url = 'https://www.valnetinc.com/images/brand/sf-logo-full-colored-dark.svg'
remove_empty_feeds = True
auto_cleanup = True
feeds = [
#Features
('Analysis', 'https://simpleflying.com/feed/category/analysis/'),
('History', 'https://simpleflying.com/feed/category/history/'),
('Exclusives', 'https://simpleflying.com/feed/category/exclusives/'),
#By Region
('Asia', 'https://simpleflying.com/feed/category/asia/'),
('Europe', 'https://simpleflying.com/feed/category/europe/'),
('North America', 'https://simpleflying.com/feed/category/north-america/'),
('Africa', 'https://simpleflying.com/feed/category/africa/'),
('Rest of World', 'https://simpleflying.com/feed/category/rest-of-world/'),
#Travel
('Trip Reports', 'https://simpleflying.com/feed/category/trip-reports/'),
('Passanger Experience', 'https://simpleflying.com/feed/category/passenger-experience/'),
('Private Aviation', 'https://simpleflying.com/feed/category/private-aviation/'),
('Airline Loyalty', 'https://simpleflying.com/feed/category/loyalty/'),
]