URL has changed for current online issue

Not able to test as have not setup a dev env on my PC - but old URL is causing 404 errors.
This commit is contained in:
Sophist 2017-05-04 09:51:06 +01:00 committed by GitHub
parent d690bf2aa4
commit 13774f4f6c

View File

@ -19,7 +19,7 @@ class AdvancedUserRecipe1359406781(BasicNewsRecipe):
def get_cover_url(self):
cover_url = None
soup = self.index_to_soup('http://www.private-eye.co.uk/current_issue.php')
soup = self.index_to_soup('http://www.private-eye.co.uk/current_issue')
for citem in soup.findAll('img'):
if citem['src'].endswith('big.jpg'):
return 'http://www.private-eye.co.uk/' + citem['src']