mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-01 00:14:30 +01:00
Update recipe for another change to the NYT todays paper page
This commit is contained in:
parent
aff999cd4b
commit
a385f0a2d9
2 changed files with 2 additions and 2 deletions
|
|
@ -104,7 +104,7 @@ def parse_todays_sections(self, container):
|
|||
|
||||
def parse_todays_page(self):
|
||||
soup = self.read_nyt_metadata()
|
||||
section = soup.find(id='collection-todays-new-york-times')
|
||||
section = soup.find(id=lambda x: x and x.startswith('collection-todays-new-york-times'))
|
||||
feeds = []
|
||||
for i, h1 in enumerate(section.findAll('h1')):
|
||||
if i == 0:
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ def parse_todays_sections(self, container):
|
|||
|
||||
def parse_todays_page(self):
|
||||
soup = self.read_nyt_metadata()
|
||||
section = soup.find(id='collection-todays-new-york-times')
|
||||
section = soup.find(id=lambda x: x and x.startswith('collection-todays-new-york-times'))
|
||||
feeds = []
|
||||
for i, h1 in enumerate(section.findAll('h1')):
|
||||
if i == 0:
|
||||
|
|
|
|||
Loading…
Reference in a new issue