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

class AdvancedUserRecipe1716111284(BasicNewsRecipe):
    title          = 'Comic Book Archive'
    language = 'en'
    description = 'CBR was founded in 1995 and quickly became the go-to source for comics industry news, discussion, and community.'
    __author__ = 'Spicy Poison'
    publisher = 'Valnet Publishing Group'
    encoding = 'utf-8'
    use_embedded_content = False
    masthead_url = 'https://www.valnetinc.com/images/brand/cbr-logo-full-colored-dark.svg'
    no_stylesheets = True
    ignore_duplicate_articles = {'title', 'url'}
    oldest_article = 7
    max_articles_per_feed = 50
    remove_empty_feeds = True
    auto_cleanup   = True

    feeds          = [
        #Franchises
        ('Marvel', 'https://www.cbr.com/feed/tag/marvel/'),
        ('DC Comics', 'https://www.cbr.com/feed/tag/dc-comics/'),
        ('Star Wars', 'https://www.cbr.com/feed/tag/star-wars/'),
        ('Lord of the Rings', 'https://www.cbr.com/feed/tag/lord-of-the-rings/'),
        ('Naruto', 'https://www.cbr.com/feed/tag/naruto/'),
        ('One Piece', 'https://www.cbr.com/feed/tag/one-piece/'),
        ('Dragon Ball', 'https://www.cbr.com/feed/tag/dragon-ball/'),
        ('Dungeons & Dragons', 'https://www.cbr.com/feed/tag/dungeons-and-dragons/'),
        #Comics
        ('Comics', 'https://www.cbr.com/feed/category/comics/'),
        ('Comic News', 'https://www.cbr.com/feed/category/comics/news/'),
        ('Comic Features', 'https://www.cbr.com/feed/category/comics-features/'),
        ('Comic Lists', 'https://www.cbr.com/feed/category/comics-lists/'),
        ('Comic Book Previews', 'https://www.cbr.com/feed/category/comics/previews/'),
        ('Comic Book Reviews', 'https://www.cbr.com/feed/category/comics/reviews/'),
        ('Solicitations', 'https://www.cbr.com/feed/tag/solicitations/'),
        #Anime
        ('Anime', 'https://www.cbr.com/feed/category/anime/'),
        ('Anime News', 'https://www.cbr.com/feed/category/anime-news/'),
        ('Anime Features', 'https://www.cbr.com/feed/category/anime-features/'),
        ('Anime Lists', 'https://www.cbr.com/feed/category/anime-lists/'),
        #Movies
        ('Movies', 'https://www.cbr.com/feed/category/movies/'),
        ('Movie News', 'https://www.cbr.com/feed/category/movies/news-movies/'),
        ('Movie Features', 'https://www.cbr.com/feed/category/movies/movie-features/'),
        ('Movie Lists', 'https://www.cbr.com/feed/category/movie-lists/'),
        ('Movie Reviews', 'https://www.cbr.com/feed/category/movies/reviews-movies/'),
        #TV
        ('TV', 'https://www.cbr.com/feed/category/tv/'),
        ('TV News', 'https://www.cbr.com/feed/category/tv/news-tv/'),
        ('TV Features', 'https://www.cbr.com/feed/category/tv/tv-features/'),
        ('TV Lists', 'https://www.cbr.com/feed/category/tv-lists/'),
        ('TV Reviews', 'https://www.cbr.com/feed/category/tv/reviews-tv/'),
        #Games
        ('Games', 'https://www.cbr.com/feed/category/games/'),
        ('Game News', 'https://www.cbr.com/feed/category/game-news/'),
        ('Game Features', 'https://www.cbr.com/feed/category/game-features/'),
        ('Game Lists', 'https://www.cbr.com/feed/category/game-lists/'),
        ('Game Guides', 'https://www.cbr.com/feed/category/game-guides/'),
        ('Threads', 'https://www.cbr.com/feed/threads/'),
        ('Lists', 'https://www.cbr.com/feed/category/lists/'),
        ('Interviews', 'https://www.cbr.com/feed/tag/interviews/'),
    ]