mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
fix: granta recipe not finding index
This commit is contained in:
parent
cd3d151e7e
commit
1f444e8878
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user