mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
fetching cover doesn't work any more
This commit is contained in:
parent
3280dd1d06
commit
c0501091dd
@ -29,9 +29,3 @@ class ppeRecipe(BasicNewsRecipe):
|
|||||||
('Recenzje', 'http://ppe.pl/rss-recenzje.html'),
|
('Recenzje', 'http://ppe.pl/rss-recenzje.html'),
|
||||||
('Publicystyka', 'http://ppe.pl/rss-publicystyka.html'),
|
('Publicystyka', 'http://ppe.pl/rss-publicystyka.html'),
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_cover_url(self):
|
|
||||||
soup = self.index_to_soup('http://www.ppe.pl/psx_extreme.html')
|
|
||||||
part = soup.find(attrs={'class': 'archiwum-foto'})['style']
|
|
||||||
part = re.search("'(.+)'", part).group(1).replace('_min', '')
|
|
||||||
return 'http://www.ppe.pl' + part
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user