mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'patch-1' of https://github.com/Sophist-UK/calibre
This commit is contained in:
commit
e036e43417
@ -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.php')
|
soup = self.index_to_soup('http://www.private-eye.co.uk/current_issue')
|
||||||
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']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user