mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update Hindustan Times
This commit is contained in:
parent
1dad1560e0
commit
62ccc857fe
@ -12,24 +12,21 @@ class HindustanTimes(BasicNewsRecipe):
|
|||||||
max_articles_per_feed = 50
|
max_articles_per_feed = 50
|
||||||
encoding = 'utf-8'
|
encoding = 'utf-8'
|
||||||
use_embedded_content = False
|
use_embedded_content = False
|
||||||
|
masthead_url = 'https://epaper.hindustantimes.com//Images/logo/logo.png'
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
remove_attributes = ['style', 'height', 'width']
|
remove_attributes = ['style', 'height', 'width']
|
||||||
ignore_duplicate_articles = {'url'}
|
ignore_duplicate_articles = {'url'}
|
||||||
extra_css = 'button { display: none; } '
|
extra_css = '.about-authors { font-size: smaller }'
|
||||||
|
|
||||||
keep_only_tags = [
|
keep_only_tags = [
|
||||||
dict(name='h1'),
|
classes('fullStory dateTime storyBy storyDetails detail freemiumText paywall'),
|
||||||
dict(name='div', attrs={'class':'sortDec'}),
|
|
||||||
dict(name='picture'),
|
|
||||||
dict(name='figcaption'),
|
|
||||||
classes('dateTime storyBy storyDetails detail freemiumText paywall'),
|
|
||||||
]
|
]
|
||||||
|
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
classes('htsWrapper shareArticle new__newsletter__signup signup__box subscribe freemium-card adMinHeight313'
|
classes('htsWrapper shareArticle new__newsletter__signup signup__box subscribe freemium-card adMinHeight313'
|
||||||
' storyTopics embed_div shareIcons close-btn'),
|
' storyTopics embed_div shareIcons close-btn mainCoachmarks sharePopUp'),
|
||||||
dict(name='div', attrs={'class':[]}),
|
dict(name='div', attrs={'class':[]}),
|
||||||
dict(name='footer'),
|
dict(name=['footer', 'button']),
|
||||||
]
|
]
|
||||||
|
|
||||||
feeds = [
|
feeds = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user