mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Modified Economic Times India recipe to be more consistent with Times of
India recipe
This commit is contained in:
parent
607b501d21
commit
e61d0d88f5
@ -27,7 +27,8 @@ class TheEconomicTimes(BasicNewsRecipe):
|
||||
.foto_mg{font-size: 60%;
|
||||
font-weight: 700;}
|
||||
h1{font-size: 150%;}
|
||||
div.dateformat{font-size: 60%}
|
||||
artdate{font-size: 60%}
|
||||
artag{font-size: 60%}
|
||||
div.storycontent{padding-top: 10px}
|
||||
"""
|
||||
conversion_options = {'comment' : description,
|
||||
@ -36,7 +37,7 @@ class TheEconomicTimes(BasicNewsRecipe):
|
||||
'language' : language
|
||||
}
|
||||
remove_tags_before = dict(name='h1')
|
||||
remove_tags_after = dict(name='div', attrs={'class':'spacebw'})
|
||||
remove_tags_after = dict(name='div', attrs={'class':'storycontent'})
|
||||
remove_attributes = ['xmlns']
|
||||
feeds = [(u'Top Stories', u'http://economictimes.indiatimes.com/rssfeedstopstories.cms'),
|
||||
(u'News', u'http://economictimes.indiatimes.com/News/rssfeeds/1715249553.cms'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user