Debian Codegraph @

recipes/give_me_sports.recipe

raw
1 #!/usr/bin/env python
2 # vim:fileencoding=utf-8
3 from calibre.web.feeds.news import BasicNewsRecipe
4
5
6 class AdvancedUserRecipe1718371374(BasicNewsRecipe):
7 title = 'Give Me Sports'
8 language = 'en'
9 __author__ = 'Spicy Poison'
10 description = 'Give Me Sports is a leading independent sports digital media publication'
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/gms-logo-full-colored-dark.svg'
19 remove_empty_feeds = True
20 auto_cleanup = True
21
22 feeds = [
23 ('Premier League', 'https://www.givemesport.com/feed/tag/premier-league/'),
24 ('UEFA Champions League', 'https://www.givemesport.com/feed/tag/champions-league/'),
25 ('National Basketball Association', 'https://www.givemesport.com/feed/tag/nba/'),
26 ('National Football League', 'https://www.givemesport.com/feed/tag/nfl/'),
27 ('Boxing', 'https://www.givemesport.com/feed/boxing/'),
28 ('Ultimate Fighting Championship', 'https://www.givemesport.com/feed/tag/ufc/'),
29 ('EA Sports FIFA', 'https://www.givemesport.com/feed/tag/ea-sports-fifa/'),
30 ('World Wrestling Entertainment', 'https://www.givemesport.com/feed/tag/wwe/'),
31 ('Formula 1', 'https://www.givemesport.com/feed/tag/formula-1/'),
32 ('Tennis', 'https://www.givemesport.com/feed/tennis/'),
33 ('Transfer News & Rumours', 'https://www.givemesport.com/feed/tag/transfer-rumours/'),
34 ('Euro 2024', 'https://www.givemesport.com/feed/euro-2024/'),
35 ('COPA America', 'https://www.givemesport.com/feed/tag/copa-america/'),
36 ]