mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update New York Review of Books
This commit is contained in:
parent
81af3cd695
commit
6331c073f7
@ -66,8 +66,9 @@ class NewYorkReviewOfBooks(BasicNewsRecipe):
|
||||
self.log('Issue date:', date)
|
||||
|
||||
# Find TOC
|
||||
toc = soup.find('ul', attrs={'class':'issue-article-list'})
|
||||
tocs = soup.findAll('ul', attrs={'class':'issue-article-list'})
|
||||
articles = []
|
||||
for toc in tocs:
|
||||
for li in toc.findAll('li'):
|
||||
h3 = li.find('h3')
|
||||
title = self.tag_to_string(h3)
|
||||
|
Loading…
x
Reference in New Issue
Block a user