Update business_standard_print.recipe

This commit is contained in:
unkn0wn 2025-05-12 11:38:14 +05:30 committed by GitHub
parent 93dcf1a6cf
commit a6b5086bca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -172,6 +172,7 @@ class BusinessStandardPrint(BasicNewsRecipe):
for x in soup.findAll(attrs={attr: True}):
del x[attr]
for br in soup.findAll('small', attrs={'class': 'brtag'}):
br.name = 'br'
br.clear()
brtag = soup.new_tag('br')
br.replace_with(brtag)
return soup