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


class AdvancedUserRecipe1716109041(BasicNewsRecipe):
    title = 'Movie Web'
    language = 'en_US'
    description = (
        'Movie Web was one of the first digital publications to appear on the web. Covering the industry from our teams in'
        ' NY, LA, and beyond, MovieWeb continues to be one of the most trusted movie and TV entertainment destinations'
        ' for the connected generation. MovieWeb is the go-to for enthusiasts, providing the latest news on movie and TV'
        ' castings and development, release dates, trailers, interviews, and more.'
    )
    __author__ = 'Spicy Poison'
    publisher = 'Valnet Publishing Group'
    encoding = 'utf-8'
    use_embedded_content = False
    masthead_url = 'https://www.valnetinc.com/images/brand/mw-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 = [
        # News feeds
        ('Trailers', 'https://movieweb.com/feed/trailers/'),
        ('Movie News', 'https://movieweb.com/feed/movie-news/'),
        ('TV News', 'https://movieweb.com/feed/tv-news/'),
        ('Marvel Cinematic Universe News', 'https://movieweb.com/feed/mcu-news/'),
        ('DC Universe News', 'https://movieweb.com/feed/tag/dcu-news/'),
        # Genre feeds
        ('Action', 'https://movieweb.com/feed/tag/action/'),
        ('Comedy', 'https://movieweb.com/feed/tag/comedy/'),
        ('Fantasy', 'https://movieweb.com/feed/tag/fantasy/'),
        ('Horror', 'https://movieweb.com/feed/tag/horror/'),
        ('Sci-Fi', 'https://movieweb.com/feed/tag/sci-fi/'),
        ('Western', 'https://movieweb.com/feed/tag/western/'),
        # What to Watch feeds
        ('Apple TV+', 'https://movieweb.com/feed/tag/apple-tv-plus/'),
        ('Criterion Collection', 'https://movieweb.com/feed/tag/criterion-collection/'),
        ('Disney+', 'https://movieweb.com/feed/tag/disney-plus/'),
        ('Hulu', 'https://movieweb.com/feed/tag/hulu/'),
        ('HBO Max', 'https://movieweb.com/feed/tag/hbo-max/'),
        ('Netflix', 'https://movieweb.com/feed/tag/netflix/'),
        ('Paramount+', 'https://movieweb.com/feed/tag/paramount-plus/'),
        ('Amazon Prime Video', 'https://movieweb.com/feed/tag/prime-video/'),
        ('Shudder', 'https://movieweb.com/feed/tag/shudder/'),
        ('Tubi', 'https://movieweb.com/feed/tag/tubi/'),
        ('Threads', 'https://movieweb.com/feed/threads/'),
        ('Features', 'https://movieweb.com/feed/features/'),
        ('Movie Lists', 'https://movieweb.com/feed/movie-lists/'),
        ('TV Lists', 'https://movieweb.com/feed/tv-lists/'),
        ('Interviews', 'https://movieweb.com/feed/celebrity-interviews/'),
        ('Movie and TV Reviews', 'https://movieweb.com/feed/movie-reviews/'),
    ]
