Loksatta by Krittika Goyal

This commit is contained in:
Kovid Goyal 2013-11-19 17:50:48 +05:30
parent 6229fa1f9e
commit 8d215c56ff
2 changed files with 31 additions and 1 deletions

30
recipes/loksatta.recipe Normal file
View File

@ -0,0 +1,30 @@
from calibre.web.feeds.news import BasicNewsRecipe
class HindustanTimes(BasicNewsRecipe):
title = u'Loksatta'
language = 'mr'
__author__ = 'Krittika Goyal'
oldest_article = 1 # days
max_articles_per_feed = 25
#encoding = 'cp1252'
use_embedded_content = False
no_stylesheets = True
auto_cleanup = True
#auto_cleanup_keep = '//div[@id="main-image"]'
feeds = [
('Maharashtra',
'http://www.loksatta.com/maharashtra.xml'),
('Mumbai',
'http://www.loksatta.com/mumbai.xml'),
('Pune',
'http://www.loksatta.com/pune.xml'),
('Desh Videsh',
'http://www.loksatta.com/deshvidesh.xml'),
('Krida',
'http://www.loksatta.com/krida.xml'),
('Arthasatta',
'http://www.loksatta.com/arthasatta.xml'),
]

View File

@ -2,7 +2,7 @@ from calibre.web.feeds.news import BasicNewsRecipe
class HindustanTimes(BasicNewsRecipe):
title = u'Maharashtra Times'
language = 'en_IN'
language = 'mr'
__author__ = 'Krittika Goyal'
oldest_article = 1 #days
max_articles_per_feed = 25