from calibre.web.feeds.news import BasicNewsRecipe


class Politics(BasicNewsRecipe):
    title = u'Courier Mail'
    language = 'en_AU'
    __author__ = 'Krittika Goyal'
    oldest_article = 3  # days
    max_articles_per_feed = 20
    use_embedded_content = False

    no_stylesheets = True
    auto_cleanup = True

    feeds = [
        ('Top Stories',
         'http://feeds.news.com.au/public/rss/2.0/bcm_top_stories_257.xml'),
        ('Breaking News',
         'http://feeds.news.com.au/public/rss/2.0/bcm_breaking_news_67.xml'),
        ('Queensland News',
         'http://feeds.news.com.au/public/rss/2.0/bcm_queensland_news_70.xml'),
        ('Technology News',
         'http://feeds.news.com.au/public/rss/2.0/bcm_technology_news_66.xml'),
        ('Entertainment News',
         'http://feeds.news.com.au/public/rss/2.0/bcm_entertainment_news_256.xml'),
        ('Business News',
         'http://feeds.news.com.au/public/rss/2.0/bcm_business_news_64.xml'),
        ('Sport News',
         'http://feeds.news.com.au/public/rss/2.0/bcm_sports_news_65.xml'),
    ]
