From 62ccc857fee728d084ba57be9e07bd040a961d53 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 1 Apr 2022 14:06:28 +0530 Subject: [PATCH] Update Hindustan Times --- recipes/hindustan_times.recipe | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/recipes/hindustan_times.recipe b/recipes/hindustan_times.recipe index 831b78fe8e..04cb111ce8 100644 --- a/recipes/hindustan_times.recipe +++ b/recipes/hindustan_times.recipe @@ -12,24 +12,21 @@ class HindustanTimes(BasicNewsRecipe): max_articles_per_feed = 50 encoding = 'utf-8' use_embedded_content = False + masthead_url = 'https://epaper.hindustantimes.com//Images/logo/logo.png' no_stylesheets = True remove_attributes = ['style', 'height', 'width'] ignore_duplicate_articles = {'url'} - extra_css = 'button { display: none; } ' + extra_css = '.about-authors { font-size: smaller }' keep_only_tags = [ - dict(name='h1'), - dict(name='div', attrs={'class':'sortDec'}), - dict(name='picture'), - dict(name='figcaption'), - classes('dateTime storyBy storyDetails detail freemiumText paywall'), + classes('fullStory dateTime storyBy storyDetails detail freemiumText paywall'), ] remove_tags = [ 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='footer'), + dict(name=['footer', 'button']), ] feeds = [