#!/usr/bin/env python
# -*- mode: python -*-
# -*- coding: utf-8 -*-

__license__ = 'GPL v3'
__copyright__ = '2023, Aareet Mahadevan'
'''
http://tehelka.com
'''

from calibre.web.feeds.news import BasicNewsRecipe


class Tehelka(BasicNewsRecipe):
    title = 'Tehelka'
    oldest_article = 7
    max_articles_per_feed = 10
    auto_cleanup = True
    __author__ = 'Aareet Mahadevan'
    description = 'Free. Fair. Fearless.'
    category = 'news, india'
    encoding = 'utf-8'
    language = 'en_IN'
    no_stylesheets = True
    remove_empty_feeds = True
    remove_javascript = True
    use_embedded_content = False
    ignore_duplicate_articles = {'title', 'url'}

    feeds = [
        ('Tehelka', 'http://tehelka.com/rss'),
    ]
