mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-07 06:25:26 -04:00
update science journal
This commit is contained in:
@@ -94,8 +94,7 @@ class scienceadv(BasicNewsRecipe):
|
||||
|
||||
feeds = []
|
||||
|
||||
div = soup.find('div', attrs={'class':'toc__body'})
|
||||
for sec in div.findAll('section', **classes('toc__section')):
|
||||
for sec in soup.findAll('section', **classes('toc__section')):
|
||||
name = sec.find(**classes('sidebar-article-title--decorated'))
|
||||
section = self.tag_to_string(name).strip()
|
||||
self.log(section)
|
||||
|
||||
@@ -92,8 +92,7 @@ class science(BasicNewsRecipe):
|
||||
|
||||
feeds = []
|
||||
|
||||
div = soup.find('div', attrs={'class':'toc__body'})
|
||||
for sec in div.findAll('section', **classes('toc__section')):
|
||||
for sec in soup.findAll('section', **classes('toc__section')):
|
||||
name = sec.find(**classes('sidebar-article-title--decorated'))
|
||||
section = self.tag_to_string(name).strip()
|
||||
self.log(section)
|
||||
|
||||
@@ -94,8 +94,7 @@ class scienceadv(BasicNewsRecipe):
|
||||
|
||||
feeds = []
|
||||
|
||||
div = soup.find('div', attrs={'class':'toc__body'})
|
||||
for sec in div.findAll('section', **classes('toc__section')):
|
||||
for sec in soup.findAll('section', **classes('toc__section')):
|
||||
name = sec.find(**classes('sidebar-article-title--decorated'))
|
||||
section = self.tag_to_string(name).strip()
|
||||
self.log(section)
|
||||
|
||||
@@ -94,8 +94,7 @@ class scienceadv(BasicNewsRecipe):
|
||||
|
||||
feeds = []
|
||||
|
||||
div = soup.find('div', attrs={'class':'toc__body'})
|
||||
for sec in div.findAll('section', **classes('toc__section')):
|
||||
for sec in soup.findAll('section', **classes('toc__section')):
|
||||
name = sec.find(**classes('sidebar-article-title--decorated'))
|
||||
section = self.tag_to_string(name).strip()
|
||||
self.log(section)
|
||||
|
||||
@@ -93,8 +93,7 @@ class scienceadv(BasicNewsRecipe):
|
||||
|
||||
feeds = []
|
||||
|
||||
div = soup.find('div', attrs={'class':'toc__body'})
|
||||
for sec in div.findAll('section', **classes('toc__section')):
|
||||
for sec in soup.findAll('section', **classes('toc__section')):
|
||||
name = sec.find(**classes('sidebar-article-title--decorated'))
|
||||
section = self.tag_to_string(name).strip()
|
||||
self.log(section)
|
||||
|
||||
@@ -94,8 +94,7 @@ class scienceadv(BasicNewsRecipe):
|
||||
|
||||
feeds = []
|
||||
|
||||
div = soup.find('div', attrs={'class':'toc__body'})
|
||||
for sec in div.findAll('section', **classes('toc__section')):
|
||||
for sec in soup.findAll('section', **classes('toc__section')):
|
||||
name = sec.find(**classes('sidebar-article-title--decorated'))
|
||||
section = self.tag_to_string(name).strip()
|
||||
self.log(section)
|
||||
|
||||
Reference in New Issue
Block a user