This commit is contained in:
Kovid Goyal 2017-07-25 09:20:08 +05:30
commit 9703e9d581
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -145,7 +145,7 @@ class PrivateEyeRecipe(BasicNewsRecipe):
self.log.warning("Publication date not found") self.log.warning("Publication date not found")
# Online articles # Online articles
online = soup.find('div', {'id': 'block-left', 'class': 'article'}) online = soup.find('div', {'id': 'block-left'})
headline = online.find('span', {'class': 'headline'}) headline = online.find('span', {'class': 'headline'})
if headline: if headline: