From 5976fdd26daafc31f5d150fe8095a7500fb75e13 Mon Sep 17 00:00:00 2001 From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com> Date: Fri, 14 Jul 2023 12:13:24 +0530 Subject: [PATCH] Update livemint.recipe --- recipes/livemint.recipe | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes/livemint.recipe b/recipes/livemint.recipe index e46374d091..75a6a5e514 100644 --- a/recipes/livemint.recipe +++ b/recipes/livemint.recipe @@ -24,9 +24,9 @@ class LiveMint(BasicNewsRecipe): def __init__(self, *args, **kwargs): BasicNewsRecipe.__init__(self, *args, **kwargs) if self.output_profile.short_name.startswith('kindle'): - self.title = 'Mint ' + date.today().strftime('%b %d, %Y') + self.title = 'Mint | ' + date.today().strftime('%b %d, %Y') if is_saturday: - self.title = 'Mint Lounge ' + date.today().strftime('%b %d, %Y') + self.title = 'Mint Lounge | ' + date.today().strftime('%b %d, %Y') if is_saturday: @@ -87,18 +87,18 @@ class LiveMint(BasicNewsRecipe): h2 {font-size:normal !important;} .author-widget {font-size:small; font-style:italic; color:#404040;} em, blockquote {color:#202020;} - .moreAbout, .articleInfo {font-size:small;} + .moreAbout, .articleInfo, .metaData, .psTopicsHeading, .topicsTag {font-size:small;} ''' keep_only_tags = [ - dict(name='article', attrs={'id':lambda x: x and x.startswith('article_')}), + dict(name='article', attrs={'id':lambda x: x and x.startswith(('article_', 'box_'))}), classes('contentSec') ] remove_tags = [ classes( 'trendingSimilarHeight moreNews mobAppDownload label msgError msgOk taboolaHeight' ' socialHolder imgbig disclamerText disqus-comment-count openinApp2 lastAdSlot' - ' datePublish sepStory premiumSlider' + ' datePublish sepStory premiumSlider moreStory' ) ]