This commit is contained in:
Kovid Goyal 2021-09-10 07:53:28 +05:30
parent 493338f4a0
commit 56d79c597b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -48,7 +48,7 @@ class TheWeek(BasicNewsRecipe):
def preprocess_html(self, soup):
a = soup.find('a')
a.name = 'span'
a.name = 'div'
h2 = soup.find('h2')
h2.string = fix_title(h2.string)
return soup