diff --git a/resources/recipes/revista_muy.recipe b/resources/recipes/revista_muy.recipe index e452a6f053..b101fe97ce 100644 --- a/resources/recipes/revista_muy.recipe +++ b/resources/recipes/revista_muy.recipe @@ -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