From 3d6679edcac57599a0b1a20b72c576a558a116d0 Mon Sep 17 00:00:00 2001 From: unkn0wn <51942695+unkn0w7n@users.noreply.github.com> Date: Fri, 27 Jun 2025 13:24:29 +0530 Subject: [PATCH] Update financial_times.recipe --- recipes/financial_times.recipe | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes/financial_times.recipe b/recipes/financial_times.recipe index cc714ab5b6..c846efd63f 100644 --- a/recipes/financial_times.recipe +++ b/recipes/financial_times.recipe @@ -181,8 +181,11 @@ class ft(BasicNewsRecipe): p.name = 'p' div = soup.findAll(**classes('article-info__time-byline-content')) for d in div: - if p_ := d.find('p'): + for p_ in d.findAll('p'): p_.name = 'div' + for tim in soup.findAll('time'): + if tim.string: + tim.string = ' ' + tim.string for table in soup.findAll('table'): if len(table.find('tbody').findAll('tr')) > 20: table.find('tbody').decompose()