This commit is contained in:
unkn0w7n 2024-01-21 12:30:04 +05:30
parent fae136f103
commit 8125a01eea
3 changed files with 3 additions and 1 deletions

View File

@ -27,6 +27,7 @@ class Espresso(BasicNewsRecipe):
no_stylesheets = True
remove_attributes = ['height', 'width', 'style']
use_embedded_content = False
masthead_url = 'https://www.livemint.com/lm-img/dev/economist-logo-oneline.png'
extra_css = '''
h1 { text-align:center; }

View File

@ -38,7 +38,7 @@ class IndianExpress(BasicNewsRecipe):
'digital-subscriber-only h-text-widget ie-premium ie-first-publish adboxtop adsizes immigrationimg '
'next-story-wrap ie-ie-share next-story-box brand-logo quote_section ie-customshare osv-ad-class '
'custom-share o-story-paper-quite ie-network-commenting audio-player-tts-sec o-story-list subscriber_hide '
'author-social author-follow author-img '
'author-social author-follow author-img premium_widget_below_article'
)
]

View File

@ -49,6 +49,7 @@ class LiveMint(BasicNewsRecipe):
classes('storyPageHeading storyContent innerBanner author')
]
remove_tags = [
dict(name=['meta', 'link', 'svg', 'button', 'iframe']),
classes('hidden-article-url sidebarAdv similarStoriesClass moreFromSecClass linkStories publishDetail'),
dict(attrs={'id':['hidden-article-id-0', 'hidden-article-type-0']})
]