This commit is contained in:
Kovid Goyal 2025-02-13 09:23:41 +05:30
commit f37f73d78d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
6 changed files with 6 additions and 6 deletions

View File

@ -73,7 +73,7 @@ class scienceadv(BasicNewsRecipe):
def postprocess_html(self, soup, first_fetch): def postprocess_html(self, soup, first_fetch):
bd = soup.find('body') bd = soup.find('body')
if bd: if bd:
p.attrs = {} bd.attrs = {}
return soup return soup
def parse_index(self): def parse_index(self):

View File

@ -71,7 +71,7 @@ class science(BasicNewsRecipe):
def postprocess_html(self, soup, first_fetch): def postprocess_html(self, soup, first_fetch):
bd = soup.find('body') bd = soup.find('body')
if bd: if bd:
p.attrs = {} bd.attrs = {}
return soup return soup
def parse_index(self): def parse_index(self):

View File

@ -73,7 +73,7 @@ class scienceadv(BasicNewsRecipe):
def postprocess_html(self, soup, first_fetch): def postprocess_html(self, soup, first_fetch):
bd = soup.find('body') bd = soup.find('body')
if bd: if bd:
p.attrs = {} bd.attrs = {}
return soup return soup
def parse_index(self): def parse_index(self):

View File

@ -73,7 +73,7 @@ class scienceadv(BasicNewsRecipe):
def postprocess_html(self, soup, first_fetch): def postprocess_html(self, soup, first_fetch):
bd = soup.find('body') bd = soup.find('body')
if bd: if bd:
p.attrs = {} bd.attrs = {}
return soup return soup
def parse_index(self): def parse_index(self):

View File

@ -72,7 +72,7 @@ class scienceadv(BasicNewsRecipe):
def postprocess_html(self, soup, first_fetch): def postprocess_html(self, soup, first_fetch):
bd = soup.find('body') bd = soup.find('body')
if bd: if bd:
p.attrs = {} bd.attrs = {}
return soup return soup
def parse_index(self): def parse_index(self):

View File

@ -73,7 +73,7 @@ class scienceadv(BasicNewsRecipe):
def postprocess_html(self, soup, first_fetch): def postprocess_html(self, soup, first_fetch):
bd = soup.find('body') bd = soup.find('body')
if bd: if bd:
p.attrs = {} bd.attrs = {}
return soup return soup
def parse_index(self): def parse_index(self):