#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe


class AdvancedUserRecipe1718371374(BasicNewsRecipe):
    title = 'Give Me Sports'
    language = 'en'
    __author__ = 'Spicy Poison'
    description = 'Give Me Sports is a leading independent sports digital media publication'
    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/gms-logo-full-colored-dark.svg'
    remove_empty_feeds = True
    auto_cleanup = True

    feeds = [
        ('Premier League', 'https://www.givemesport.com/feed/tag/premier-league/'),
        ('UEFA Champions League', 'https://www.givemesport.com/feed/tag/champions-league/'),
        ('National Basketball Association', 'https://www.givemesport.com/feed/tag/nba/'),
        ('National Football League', 'https://www.givemesport.com/feed/tag/nfl/'),
        ('Boxing', 'https://www.givemesport.com/feed/boxing/'),
        ('Ultimate Fighting Championship', 'https://www.givemesport.com/feed/tag/ufc/'),
        ('EA Sports FIFA', 'https://www.givemesport.com/feed/tag/ea-sports-fifa/'),
        ('World Wrestling Entertainment', 'https://www.givemesport.com/feed/tag/wwe/'),
        ('Formula 1', 'https://www.givemesport.com/feed/tag/formula-1/'),
        ('Tennis', 'https://www.givemesport.com/feed/tennis/'),
        ('Transfer News & Rumours', 'https://www.givemesport.com/feed/tag/transfer-rumours/'),
        ('Euro 2024', 'https://www.givemesport.com/feed/euro-2024/'),
        ('COPA America', 'https://www.givemesport.com/feed/tag/copa-america/'),
    ]
