diff --git a/recipes/nytimes.recipe b/recipes/nytimes.recipe index 1bb8ff280b..ef4f13c5f6 100644 --- a/recipes/nytimes.recipe +++ b/recipes/nytimes.recipe @@ -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: diff --git a/recipes/nytimes_sub.recipe b/recipes/nytimes_sub.recipe index fe6ddbf699..7f09e7048d 100644 --- a/recipes/nytimes_sub.recipe +++ b/recipes/nytimes_sub.recipe @@ -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: