mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class Telegraph(BasicNewsRecipe):
|
|
title = u'The Telegraph India'
|
|
language = 'en_IN'
|
|
__author__ = 'Krittika Goyal'
|
|
oldest_article = 1 # days
|
|
max_articles_per_feed = 25
|
|
use_embedded_content = False
|
|
|
|
no_stylesheets = True
|
|
auto_cleanup = True
|
|
|
|
feeds = [
|
|
('Front Page',
|
|
'http://www.telegraphindia.com/feeds/rss.jsp?id=3'),
|
|
('Nation',
|
|
'http://www.telegraphindia.com/feeds/rss.jsp?id=4'),
|
|
('Calcutta',
|
|
'http://www.telegraphindia.com/feeds/rss.jsp?id=5'),
|
|
('Bengal',
|
|
'http://www.telegraphindia.com/feeds/rss.jsp?id=8'),
|
|
('Bihar',
|
|
'http://www.telegraphindia.com/feeds/rss.jsp?id=22'),
|
|
('Sports',
|
|
'http://www.telegraphindia.com/feeds/rss.jsp?id=7'),
|
|
('International',
|
|
'http://www.telegraphindia.com/feeds/rss.jsp?id=13'),
|
|
('Business',
|
|
'http://www.telegraphindia.com/feeds/rss.jsp?id=9'),
|
|
('Entertainment',
|
|
'http://www.telegraphindia.com/feeds/rss.jsp?id=20'),
|
|
('Opinion',
|
|
'http://www.telegraphindia.com/feeds/rss.jsp?id=6'),
|
|
]
|