mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Update Indian Express
This commit is contained in:
parent
b0c95d4e61
commit
917f9396f4
@ -24,6 +24,7 @@ class IndianExpress(BasicNewsRecipe):
|
|||||||
extra_css = '''
|
extra_css = '''
|
||||||
#storycenterbyline {font-size:small;}
|
#storycenterbyline {font-size:small;}
|
||||||
#img-cap {font-size:small;}
|
#img-cap {font-size:small;}
|
||||||
|
blockquote{text-align:center; color:#404040;}
|
||||||
'''
|
'''
|
||||||
resolve_internal_links = True
|
resolve_internal_links = True
|
||||||
remove_empty_feeds = True
|
remove_empty_feeds = True
|
||||||
@ -31,6 +32,7 @@ class IndianExpress(BasicNewsRecipe):
|
|||||||
keep_only_tags = [classes('heading-part full-details')]
|
keep_only_tags = [classes('heading-part full-details')]
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
dict(name='div', attrs={'id': 'ie_story_comments'}),
|
dict(name='div', attrs={'id': 'ie_story_comments'}),
|
||||||
|
dict(name='div', attrs={'class': lambda x: x and 'related-widget' in x}),
|
||||||
dict(
|
dict(
|
||||||
name='img',
|
name='img',
|
||||||
attrs={
|
attrs={
|
||||||
@ -62,7 +64,7 @@ class IndianExpress(BasicNewsRecipe):
|
|||||||
classes(
|
classes(
|
||||||
'share-social appstext ie-int-campign-ad ie-breadcrumb custom_read_button unitimg copyright'
|
'share-social appstext ie-int-campign-ad ie-breadcrumb custom_read_button unitimg copyright'
|
||||||
' storytags pdsc-related-modify news-guard premium-story append_social_share'
|
' storytags pdsc-related-modify news-guard premium-story append_social_share'
|
||||||
' digital-subscriber-only h-text-widget ie-premium'
|
' digital-subscriber-only h-text-widget ie-premium ie-first-publish adboxtop adsizes'
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user