From 9370fe3ba328a5c6938a59f3c75467c0567ffe10 Mon Sep 17 00:00:00 2001 From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com> Date: Wed, 13 Sep 2023 11:09:13 +0530 Subject: [PATCH] ... --- recipes/bloomberg-business-week.recipe | 4 ++-- recipes/bloomberg.recipe | 4 ++-- recipes/livemint.recipe | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes/bloomberg-business-week.recipe b/recipes/bloomberg-business-week.recipe index e9812e7157..5d45e6151d 100644 --- a/recipes/bloomberg-business-week.recipe +++ b/recipes/bloomberg-business-week.recipe @@ -176,14 +176,14 @@ class Bloomberg(BasicNewsRecipe): caption = '' + data['lede']['alt'] + '' if m: - time.sleep(5) + time.sleep(3) body = data['body'] else: body = '' body_data = data['body']['content'] for x in body_data: body += get_contents(x) - pause = random.choice((4, 5, 6, 7, 8, 9)) + pause = random.choice((3, 4, 5, 6)) self.log('Delay: ', pause, ' seconds') time.sleep(pause) return '' + cat + title + subhead + auth + lede + caption + '
' + body + '
' diff --git a/recipes/bloomberg.recipe b/recipes/bloomberg.recipe index b7ee45be05..50fe1033c1 100644 --- a/recipes/bloomberg.recipe +++ b/recipes/bloomberg.recipe @@ -170,14 +170,14 @@ class Bloomberg(BasicNewsRecipe): caption = '' + data['lede']['alt'] + '' if m: - time.sleep(5) + time.sleep(3) body = data['body'] elif m2: body = '' body_data = data['body']['content'] for x in body_data: body += get_contents(x) - pause = random.choice((4, 5, 6, 7, 8, 9)) + pause = random.choice((3, 4, 5, 6)) self.log('Delay: ', pause, ' seconds') time.sleep(pause) return '' + cat + title + subhead + auth + lede + caption + '
' + body + '
' diff --git a/recipes/livemint.recipe b/recipes/livemint.recipe index 3418fc249a..3831728eb4 100644 --- a/recipes/livemint.recipe +++ b/recipes/livemint.recipe @@ -81,7 +81,7 @@ class LiveMint(BasicNewsRecipe): extra_css = ''' img {display:block; margin:0 auto;} #img-cap {font-size:small; text-align:center;} - .summary, .highlights { + .summary, .highlights, .synopsis { font-weight:normal !important; font-style:italic; color:#202020; } h2 {font-size:normal !important;}