From 6a2066342e84577257a62f620e02d238878aeb0c Mon Sep 17 00:00:00 2001
From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com>
Date: Thu, 27 Jun 2024 11:36:40 +0530
Subject: [PATCH] Update tls_mag.recipe
---
recipes/tls_mag.recipe | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/recipes/tls_mag.recipe b/recipes/tls_mag.recipe
index 15dd30cd43..ad5aac9c8f 100644
--- a/recipes/tls_mag.recipe
+++ b/recipes/tls_mag.recipe
@@ -41,10 +41,11 @@ class tls(BasicNewsRecipe):
.desc { font-style:italic; color:#202020; }
.auth { font-size:small; }
em, blockquote { color:#202020; }
- .det { font-size:small; color:#202020; }
+ .det { font-size:small; color:#202020; font-weight:bold; }
'''
def parse_index(self):
+ # for past edition, change the issue link below
issue = 'https://www.the-tls.co.uk/issues/current-issue/'
url = 'https://www.the-tls.co.uk/wp-json/tls/v2/contents-page/' + get_id(issue)
raw = self.index_to_soup(url, raw=True)
@@ -91,8 +92,8 @@ class tls(BasicNewsRecipe):
bks = ''
if data['bookdetails']:
+ bks += '
'
for a in data['bookdetails']:
- bks += '
'
for x, y in a.items():
if isinstance(y, str):
if x == 'imageurl':