calibre/recipes/football_league_world.recipe
un-pogaz 19b9d979ab comment formating (auto-fix)
ruff 'E114,E115,E116,E261,E262,E265'
2025-01-24 11:14:21 +01:00

57 lines
3.3 KiB
Python

#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1718380039(BasicNewsRecipe):
title = 'Football League World'
language = 'en_GB'
__author__ = 'Spicy Poison'
description = ('Football League World is a digital publication that provides breaking news,'
' views and opinions on the hot topics and key narratives within the Championship, League One and Two.')
publisher = 'Valnet Publishing Group'
oldest_article = 7
max_articles_per_feed = 50
no_stylesheets = True
use_embedded_content = False
ignore_duplicate_articles = {'title', 'url'}
encoding = 'utf-8'
masthead_url = 'https://www.valnetinc.com/images/brand/flw-logo-full-colored-dark.svg'
remove_empty_feeds = True
auto_cleanup = True
feeds = [
# Transfer Rumours
('Transfer Rumours', 'https://footballleagueworld.co.uk/feed/transfer-rumours/'),
('Alex Scott', 'https://footballleagueworld.co.uk/feed/tag/alex-scott/'),
('James Ward-Prowse', 'https://footballleagueworld.co.uk/feed/tag/james-ward-prowse/'),
('Wilfried Gnonto', 'https://footballleagueworld.co.uk/feed/wilfried-gnonto/'),
# Championship
('Championship', 'https://footballleagueworld.co.uk/feed/championship/'),
('Leeds United', 'https://footballleagueworld.co.uk/feed/tag/leeds-united/'),
('Leicester City', 'https://footballleagueworld.co.uk/feed/tag/leicester-city/'),
('Middlesbrough', 'https://footballleagueworld.co.uk/feed/tag/middlesbrough/'),
('Queens Park Rangers', 'https://footballleagueworld.co.uk/feed/tag/qpr/'),
('Sheffield Wednesday', 'https://footballleagueworld.co.uk/feed/tag/sheffield-wednesday/'),
('Southampton', 'https://footballleagueworld.co.uk/feed/tag/southampton/'),
('Sunderland', 'https://footballleagueworld.co.uk/feed/tag/sunderland/'),
('West Bromwich Albion', 'https://footballleagueworld.co.uk/feed/tag/west-bromwich-albion/'),
# League One
('Barnsley', 'https://footballleagueworld.co.uk/feed/tag/barnsley/'),
('Bolton Wanderers', 'https://footballleagueworld.co.uk/feed/tag/bolton-wanderers/'),
('Charlton Athletic', 'https://footballleagueworld.co.uk/feed/tag/charlton-athletic/'),
('Derby County', 'https://footballleagueworld.co.uk/feed/tag/derby-county/'),
('Portsmouth', 'https://footballleagueworld.co.uk/feed/tag/portsmouth/'),
('Reading', 'https://footballleagueworld.co.uk/feed/tag/reading/'),
# League Two
('Bradford City', 'https://footballleagueworld.co.uk/feed/tag/bradford-city/'),
('Gillingham', 'https://footballleagueworld.co.uk/feed/tag/gillingham/'),
('Notts County', 'https://footballleagueworld.co.uk/feed/tag/notts-county/'),
('Swindon Town', 'https://footballleagueworld.co.uk/feed/tag/swindon-town/'),
('Wrexham', 'https://footballleagueworld.co.uk/feed/tag/wrexham/'),
('Football Association Challenge Cup', 'https://footballleagueworld.co.uk/feed/tag/fa-cup/'),
('English Football League Cup', 'https://footballleagueworld.co.uk/feed/tag/efl-cup/'),
('English Football League Trophy', 'https://footballleagueworld.co.uk/feed/tag/efl-trophy/'),
]