from calibre.web.feeds.news import BasicNewsRecipe


class AdvancedUserRecipe1306061239(BasicNewsRecipe):
    title = u'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
    auto_cleanup = True

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