This commit is contained in:
Kovid Goyal 2017-05-06 08:08:47 +05:30
parent 497a612ae4
commit 3bf422275b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

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