mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Improve Revista Muy Intersante
This commit is contained in:
parent
8b9274d6ca
commit
2dbc7058f2
@ -108,3 +108,10 @@ class RevistaMuyInteresante(BasicNewsRecipe):
|
||||
feeds.append((title, articles))
|
||||
return feeds
|
||||
|
||||
def get_cover_url(self):
|
||||
index = 'http://www.muyinteresante.es/revista'
|
||||
soup = self.index_to_soup(index)
|
||||
link_item = soup.find('img',attrs={'class':'img_portada'})
|
||||
if link_item:
|
||||
cover_url = "http://www.muyinteresante.es"+link_item['src']
|
||||
return cover_url
|
||||
|
Loading…
x
Reference in New Issue
Block a user