| 1 |
#!/usr/bin/env python |
| 2 |
# -*- mode: python -*- |
| 3 |
# -*- coding: utf-8 -*- |
| 4 |
|
| 5 |
__license__ = 'GPL v3' |
| 6 |
__copyright__ = '2023, Aareet Mahadevan' |
| 7 |
''' |
| 8 |
http://tehelka.com |
| 9 |
''' |
| 10 |
|
| 11 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 12 |
|
| 13 |
|
| 14 |
class Tehelka(BasicNewsRecipe): |
| 15 |
title = 'Tehelka' |
| 16 |
oldest_article = 7 |
| 17 |
max_articles_per_feed = 10 |
| 18 |
auto_cleanup = True |
| 19 |
__author__ = 'Aareet Mahadevan' |
| 20 |
description = 'Free. Fair. Fearless.' |
| 21 |
category = 'news, india' |
| 22 |
encoding = 'utf-8' |
| 23 |
language = 'en_IN' |
| 24 |
no_stylesheets = True |
| 25 |
remove_empty_feeds = True |
| 26 |
remove_javascript = True |
| 27 |
use_embedded_content = False |
| 28 |
ignore_duplicate_articles = {'title', 'url'} |
| 29 |
|
| 30 |
feeds = [ |
| 31 |
('Tehelka', 'http://tehelka.com/rss'), |
| 32 |
] |