from calibre.web.feeds.news import BasicNewsRecipe


class AdvancedUserRecipe1306061239(BasicNewsRecipe):
    title = 'New Musical Express Magazine'
    description = 'UK Rock & Pop Mag.'
    __author__ = 'Dave Asbury, Inge Aning'
    category = 'Music, Film, Tv'
    publisher = 'Time Inc. (UK) Ltd.'
    '''
    ' updated 11/3/2015
    ' feeds url
    ' cover and masterhead url
    ' fix for a bug that prevents some pages render
    ' changes to website
    '''

    remove_empty_feeds = True
    encoding = 'utf-8'
    remove_javascript = True
    no_stylesheets = True
    oldest_article = 7
    max_articles_per_feed = 20
    auto_cleanup = False
    language = 'en'
    compress_news_images = True
    simultaneous_downloads = 20
    use_embedded_content = False
    recursions = 0

    feeds = [
        ('NME News', 'http://www.nme.com/news/feed'),
        ('Reviews', 'http://www.nme.com/reviews/feed/'),
        ('Blogs', 'http://www.nme.com/blogs/feed'),
    ]
