From cf5c4a7d15777c80b08a69987282657e419ade2a Mon Sep 17 00:00:00 2001 From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com> Date: Sun, 8 Sep 2024 20:24:17 +0530 Subject: [PATCH] ... --- recipes/scmp.recipe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/scmp.recipe b/recipes/scmp.recipe index a7ee802969..ba3abf18d0 100644 --- a/recipes/scmp.recipe +++ b/recipes/scmp.recipe @@ -62,7 +62,8 @@ def load_article_from_json(raw, root): # E(article, 'p', replace_entities(data['subHeadline']['text']), style='font-style: italic; color:#202020;') for subh in data['subHeadline']['json']: process_node(subh, article) - E(article, 'p', ts_date(data['publishedDate']) + ' | ' + auth(data['authors']), style='color: #202020; font-size:small;') + auth = ts_date(data['publishedDate']) + ' | ' + data['readingTime'] or '' + ' min read | ' + auth(data['authors']) + E(article, 'p', auth, style='color: #202020; font-size:small;') main_image_url = sub_img = '' for l in data['images']: if l['type'] == 'leading':