calibre/recipes/tehelka.recipe
un-pogaz 8d28380515 add/remove blank-line (extra-edit)
ruff 'E302,E303,E304,E305,W391'
2025-01-24 11:14:21 +01:00

33 lines
756 B
Python

#!/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 = u'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'),
]