Debian Codegraph @

recipes/football_league_world.recipe

raw
1 #!/usr/bin/env python
2 # vim:fileencoding=utf-8
3 from calibre.web.feeds.news import BasicNewsRecipe
4
5
6 class AdvancedUserRecipe1718380039(BasicNewsRecipe):
7 title = 'Football League World'
8 language = 'en_GB'
9 __author__ = 'Spicy Poison'
10 description = (
11 'Football League World is a digital publication that provides breaking news,'
12 ' views and opinions on the hot topics and key narratives within the Championship, League One and Two.'
13 )
14 publisher = 'Valnet Publishing Group'
15 oldest_article = 7
16 max_articles_per_feed = 50
17 no_stylesheets = True
18 use_embedded_content = False
19 ignore_duplicate_articles = {'title', 'url'}
20 encoding = 'utf-8'
21 masthead_url = 'https://www.valnetinc.com/images/brand/flw-logo-full-colored-dark.svg'
22 remove_empty_feeds = True
23 auto_cleanup = True
24
25 feeds = [
26 # Transfer Rumours
27 ('Transfer Rumours', 'https://footballleagueworld.co.uk/feed/transfer-rumours/'),
28 ('Alex Scott', 'https://footballleagueworld.co.uk/feed/tag/alex-scott/'),
29 ('James Ward-Prowse', 'https://footballleagueworld.co.uk/feed/tag/james-ward-prowse/'),
30 ('Wilfried Gnonto', 'https://footballleagueworld.co.uk/feed/wilfried-gnonto/'),
31 # Championship
32 ('Championship', 'https://footballleagueworld.co.uk/feed/championship/'),
33 ('Leeds United', 'https://footballleagueworld.co.uk/feed/tag/leeds-united/'),
34 ('Leicester City', 'https://footballleagueworld.co.uk/feed/tag/leicester-city/'),
35 ('Middlesbrough', 'https://footballleagueworld.co.uk/feed/tag/middlesbrough/'),
36 ('Queens Park Rangers', 'https://footballleagueworld.co.uk/feed/tag/qpr/'),
37 ('Sheffield Wednesday', 'https://footballleagueworld.co.uk/feed/tag/sheffield-wednesday/'),
38 ('Southampton', 'https://footballleagueworld.co.uk/feed/tag/southampton/'),
39 ('Sunderland', 'https://footballleagueworld.co.uk/feed/tag/sunderland/'),
40 ('West Bromwich Albion', 'https://footballleagueworld.co.uk/feed/tag/west-bromwich-albion/'),
41 # League One
42 ('Barnsley', 'https://footballleagueworld.co.uk/feed/tag/barnsley/'),
43 ('Bolton Wanderers', 'https://footballleagueworld.co.uk/feed/tag/bolton-wanderers/'),
44 ('Charlton Athletic', 'https://footballleagueworld.co.uk/feed/tag/charlton-athletic/'),
45 ('Derby County', 'https://footballleagueworld.co.uk/feed/tag/derby-county/'),
46 ('Portsmouth', 'https://footballleagueworld.co.uk/feed/tag/portsmouth/'),
47 ('Reading', 'https://footballleagueworld.co.uk/feed/tag/reading/'),
48 # League Two
49 ('Bradford City', 'https://footballleagueworld.co.uk/feed/tag/bradford-city/'),
50 ('Gillingham', 'https://footballleagueworld.co.uk/feed/tag/gillingham/'),
51 ('Notts County', 'https://footballleagueworld.co.uk/feed/tag/notts-county/'),
52 ('Swindon Town', 'https://footballleagueworld.co.uk/feed/tag/swindon-town/'),
53 ('Wrexham', 'https://footballleagueworld.co.uk/feed/tag/wrexham/'),
54 ('Football Association Challenge Cup', 'https://footballleagueworld.co.uk/feed/tag/fa-cup/'),
55 ('English Football League Cup', 'https://footballleagueworld.co.uk/feed/tag/efl-cup/'),
56 ('English Football League Trophy', 'https://footballleagueworld.co.uk/feed/tag/efl-trophy/'),
57 ]