Debian Codegraph @

recipes/the_travel.recipe

raw
1 #!/usr/bin/env python
2 # vim:fileencoding=utf-8
3 from calibre.web.feeds.news import BasicNewsRecipe
4
5
6 class AdvancedUserRecipe1718370494(BasicNewsRecipe):
7 title = 'The Travel'
8 language = 'en'
9 __author__ = 'Spicy Poison'
10 description = (
11 'TheTravel covers all angles of tourism and bucket list destinations, answering every how,'
12 ' what, why, when, and where. Their goal has always been to create a publication that caters'
13 ' to the needs of readers, as well as inspiring wanderlust for those seeking the itineraries of their dreams.'
14 ' Throughout every travel season, TheTravel is there - bringing trending destinations, underrated spots, hidden gems,'
15 ' and the most beautiful landscapes to the top of your feed.'
16 )
17 publisher = 'Valnet Publishing Group'
18 oldest_article = 7
19 max_articles_per_feed = 50
20 no_stylesheets = True
21 use_embedded_content = False
22 ignore_duplicate_articles = {'title', 'url'}
23 encoding = 'utf-8'
24 masthead_url = 'https://www.valnetinc.com/images/brand/tv-logo-full-colored-dark.svg'
25 remove_empty_feeds = True
26 auto_cleanup = True
27
28 feeds = [
29 ('Travel Guides', 'https://www.thetravel.com/feed/category/travel-guides/'),
30 ('Travel', 'https://www.thetravel.com/feed/category/travel/'),
31 ('Food', 'https://www.thetravel.com/feed/category/food/'),
32 ('Destinations', 'https://www.thetravel.com/feed/category/destinations/'),
33 ('Travel Hacks', 'https://www.thetravel.com/feed/category/travel-hacks/'),
34 ('Lifestyle', 'https://www.thetravel.com/feed/category/lifestyle/'),
35 ]