Fix change of class on website.

This commit is contained in:
Sophist 2017-07-24 22:50:54 +01:00 committed by GitHub
parent 1be4c69f08
commit 1778cb1c44

View File

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