Debian Codegraph @

recipes/game_rant.recipe

raw
1 #!/usr/bin/env python
2 # vim:fileencoding=utf-8
3 from calibre.web.feeds.news import BasicNewsRecipe
4
5
6 class AdvancedUserRecipe1718106336(BasicNewsRecipe):
7 title = 'Game Rant'
8 language = 'en'
9 __author__ = 'Spicy Poison'
10 description = (
11 'Game Rant is a Digital Publication run by gamers with articles published for gamers'
12 ' with an emphasis on news, reviews, unique features, and interviews.'
13 ' Their information aims to tap into the topics and subjects that they, as gamers, are most passionate about.'
14 )
15 publisher = 'Valnet Publishing Group'
16 oldest_article = 7
17 max_articles_per_feed = 50
18 no_stylesheets = True
19 use_embedded_content = False
20 ignore_duplicate_articles = {'title', 'url'}
21 encoding = 'utf-8'
22 masthead_url = 'https://www.valnetinc.com/images/brand/gr-logo-full-colored-dark.svg'
23 remove_empty_feeds = True
24 auto_cleanup = True
25
26 feeds = [
27 ('Game News', 'https://gamerant.com/feed/gaming/'),
28 # Platforms
29 ('Platforms', 'https://gamerant.com/feed/platforms/'),
30 ('Playstation', 'https://gamerant.com/feed/tag/playstation/'),
31 ('Xbox', 'https://gamerant.com/feed/tag/xbox/'),
32 ('Nintendo', 'https://gamerant.com/feed/tag/nintendo/'),
33 ('PC Gaming', 'https://gamerant.com/feed/tag/pc/'),
34 ('Mobile Gaming', 'https://gamerant.com/feed/tag/mobile/'),
35 # Game Rant Originals
36 ('Game Rant Originals', 'https://gamerant.com/feed/originals/'),
37 ('Editorials', 'https://gamerant.com/feed/editorial/'),
38 ('Game Reviews', 'https://gamerant.com/feed/game-reviews/'),
39 ('Explainer', 'https://gamerant.com/feed/explainer/'),
40 ('Game Rant Advance', 'https://gamerant.com/feed/game-rant-advance/'),
41 ('Strategy Guides', 'https://gamerant.com/feed/strategy-guide/'),
42 ('Threads', 'https://gamerant.com/feed/threads/'),
43 ('Movies & TV', 'https://gamerant.com/feed/movies-tv/'),
44 ('Anime', 'https://gamerant.com/feed/anime/'),
45 ('Lists', 'https://gamerant.com/feed/lists/'),
46 ]