mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update comment to match
This commit is contained in:
parent
b78aac51ca
commit
ca9a6eec33
@ -130,7 +130,7 @@ class PrivateEyeRecipe(BasicNewsRecipe):
|
|||||||
else:
|
else:
|
||||||
self.log.warning('Cover image NOT found')
|
self.log.warning('Cover image NOT found')
|
||||||
|
|
||||||
# Get publication date as 14 days before next publication date
|
# Get publication cover date as 12 days before next publication date
|
||||||
for tag in soup.findAll('span', {'class': 'only-smallest'}):
|
for tag in soup.findAll('span', {'class': 'only-smallest'}):
|
||||||
tag_contents = tag.contents
|
tag_contents = tag.contents
|
||||||
if tag_contents[0].string.lower().split()[:2] == ["next", "issue"]:
|
if tag_contents[0].string.lower().split()[:2] == ["next", "issue"]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user