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