Update comment to match

This commit is contained in:
Sophist 2017-06-11 13:29:03 +01:00 committed by GitHub
parent b78aac51ca
commit ca9a6eec33

View File

@ -130,7 +130,7 @@ class PrivateEyeRecipe(BasicNewsRecipe):
else:
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'}):
tag_contents = tag.contents
if tag_contents[0].string.lower().split()[:2] == ["next", "issue"]: