
from calibre.web.feeds.news import BasicNewsRecipe


class IndiaToday(BasicNewsRecipe):
    title = u'India Today'
    language = 'en_IN'
    __author__ = 'Krittika Goyal'
    oldest_article = 15  # days
    max_articles_per_feed = 25

    no_stylesheets = True
    auto_cleanup = True

    feeds = [
        ('Latest News', 'http://indiatoday.intoday.in/rss/article.jsp?sid=4'),
        ('Cover Story', 'http://indiatoday.intoday.in/rss/article.jsp?sid=30'),
        ('Nation', 'http://indiatoday.intoday.in/rss/article.jsp?sid=36'),
        ('States', 'http://indiatoday.intoday.in/rss/article.jsp?sid=21'),
        ('Economy', 'http://indiatoday.intoday.in/rss/article.jsp?sid=34'),
        ('World', 'http://indiatoday.intoday.in/rss/article.jsp?sid=61'),
        ('Sport', 'http://indiatoday.intoday.in/rss/article.jsp?sid=41'),

    ]
