mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
34 lines
757 B
Python
34 lines
757 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'),
|
|
]
|