Update recipe for another change to the NYT todays paper page

This commit is contained in:
Kovid Goyal
2018-02-13 06:56:43 +05:30
parent aff999cd4b
commit a385f0a2d9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ class NewYorkTimes(BasicNewsRecipe):
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:
+1 -1
View File
@@ -104,7 +104,7 @@ class NewYorkTimes(BasicNewsRecipe):
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: