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


class AdvancedUserRecipe1718126035(BasicNewsRecipe):
    title = 'Hardcore Gamer'
    language = 'en'
    __author__ = 'Spicy Poison'
    description = (
        'One of the most frequented gaming journalism publications in the world,'
        ' Hardcore Gamer has one of the largest active video game review libraries'
        ' in addition to top video production and heralded long-form content.'
    )
    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/hg-logo-full-colored-dark.svg'
    remove_empty_feeds = True
    auto_cleanup = True

    feeds = [
        ('Gaming News', 'https://hardcoregamer.com/feed/category/news/'),
        ('Reviews', 'https://hardcoregamer.com/feed/category/reviews/'),
        ('Previews', 'https://hardcoregamer.com/feed/category/previews/'),
        ('Guides', 'https://hardcoregamer.com/feed/category/guides/'),
        ('Features', 'https://hardcoregamer.com/feed/category/features/'),
        ('Interviews', 'https://hardcoregamer.com/feed/category/features/interviews/'),
    ]
