Debian Codegraph @

recipes/the_gamer.recipe

raw
1 #!/usr/bin/env python
2 # vim:fileencoding=utf-8
3 from calibre.web.feeds.news import BasicNewsRecipe
4
5
6 class AdvancedUserRecipe1718109535(BasicNewsRecipe):
7 title = 'The Gamer'
8 language = 'en'
9 __author__ = 'Spicy Poison'
10 description = 'TheGamer is a gaming site with a different spin on things, and we break some of the biggest stories around.'
11 publisher = 'Valnet Publishing Group'
12 oldest_article = 7
13 max_articles_per_feed = 50
14 no_stylesheets = True
15 use_embedded_content = False
16 ignore_duplicate_articles = {'title', 'url'}
17 encoding = 'utf-8'
18 masthead_url = 'https://www.valnetinc.com/images/brand/tg-logo-full-colored-dark.svg'
19 remove_empty_feeds = True
20 auto_cleanup = True
21
22 feeds = [
23 ('Game Guides', 'https://www.thegamer.com/feed/category/game-guides/'),
24 # AAA Games
25 ('AAA Games', 'https://www.thegamer.com/feed/aaa-games/'),
26 ('AAA Games Features', 'https://www.thegamer.com/feed/aaa-games/features/'),
27 ('AAA Games News', 'https://www.thegamer.com/feed/aaa-games/news/'),
28 ('AAA Games Lists', 'https://www.thegamer.com/feed/aaa-games/lists/'),
29 # Live-Service Games
30 ('Live-Service Games', 'https://www.thegamer.com/feed/live-service-games/'),
31 ('Live-Service Games Features', 'https://www.thegamer.com/feed/live-service-games/features/'),
32 ('Live-Service Games News', 'https://www.thegamer.com/feed/live-service-games/news/'),
33 ('Live-Service Games Lists', 'https://www.thegamer.com/feed/live-service-games/lists/'),
34 # Indie Games
35 ('Indie Games', 'https://www.thegamer.com/feed/indie-games/'),
36 ('Indie Games Features', 'https://www.thegamer.com/feed/indie-games/features/'),
37 ('Indie Games News', 'https://www.thegamer.com/feed/indie-games/news/'),
38 ('Indie Games Lists', 'https://www.thegamer.com/feed/indie-games/lists/'),
39 # Streaming
40 ('Streaming', 'https://www.thegamer.com/feed/streaming/'),
41 ('Streaming Features', 'https://www.thegamer.com/feed/streaming/features/'),
42 ('Streaming News', 'https://www.thegamer.com/feed/streaming/news/'),
43 # Movies & Shows
44 ('Movies & Shows', 'https://www.thegamer.com/feed/movies-tv-anime/'),
45 ('Movies & Shows Features', 'https://www.thegamer.com/feed/movies-tv-anime/features/'),
46 ('Movies & Shows News', 'https://www.thegamer.com/feed/movies-tv-anime/news/'),
47 ('Game News', 'https://www.thegamer.com/feed/category/game-news/'),
48 ('The Gamer Originals', 'https://www.thegamer.com/feed/category/tg-originals/'),
49 ('The Gamer Lists', 'https://www.thegamer.com/feed/category/lists/'),
50 ('Explainers', 'https://www.thegamer.com/feed/category/explainer/'),
51 ('Reviews & Previews', 'https://www.thegamer.com/feed/reviews-previews/'),
52 ('Tabletop', 'https://www.thegamer.com/feed/category/tabletop/'),
53 ]