mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update New York Times
This commit is contained in:
parent
ded06e6b00
commit
bab192fa6c
@ -219,6 +219,7 @@ class NewYorkTimes(BasicNewsRecipe):
|
||||
|
||||
container = soup.find(itemtype='http://schema.org/CollectionPage')
|
||||
highlights = container.find('section', **classes('highlights'))
|
||||
if highlights is not None:
|
||||
for article in self.parse_highlights(highlights):
|
||||
log(article)
|
||||
yield article
|
||||
|
@ -219,6 +219,7 @@ class NewYorkTimes(BasicNewsRecipe):
|
||||
|
||||
container = soup.find(itemtype='http://schema.org/CollectionPage')
|
||||
highlights = container.find('section', **classes('highlights'))
|
||||
if highlights is not None:
|
||||
for article in self.parse_highlights(highlights):
|
||||
log(article)
|
||||
yield article
|
||||
|
Loading…
x
Reference in New Issue
Block a user