mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Create tehelka.recipe
Adds a recipe via RSS for tehelka.com
This commit is contained in:
parent
8c238c9532
commit
e5a144a30e
31
recipes/tehelka.recipe
Normal file
31
recipes/tehelka.recipe
Normal file
@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- mode: python -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
__license__ = 'GPL v3'
|
||||
__copyright__ = '2023, Aareet Mahadevan'
|
||||
'''
|
||||
https://www.ambito.com/contenidos/edicion-impresa.html
|
||||
'''
|
||||
|
||||
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'
|
||||
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'),
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user