From 1f444e88788e279f71f23a89c0f1664259dfd1a1 Mon Sep 17 00:00:00 2001 From: Wes Bradley Date: Sat, 15 Mar 2025 21:27:45 -0500 Subject: [PATCH] fix: granta recipe not finding index --- recipes/granta.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/granta.recipe b/recipes/granta.recipe index 3b84de65a6..6da3e02ba7 100644 --- a/recipes/granta.recipe +++ b/recipes/granta.recipe @@ -213,10 +213,10 @@ class Granta(BasicNewsRecipe): def parse_index(self): if force_issue_download is None: - soup = self.index_to_soup('https://granta.com/') + soup = self.index_to_soup('https://granta.com/issues') # Get latest issue - issueInfo = soup.find(**classes('featured_product__image')) + issueInfo = soup.find(**classes('explore-issue-result')) issueAnchor = issueInfo.findParent('a', href=True) issueLink = issueAnchor.get('href') else: