diff --git a/resources/recipes/lemonde_dip.recipe b/resources/recipes/lemonde_dip.recipe index a5fa97c22e..9845c207fc 100644 --- a/resources/recipes/lemonde_dip.recipe +++ b/resources/recipes/lemonde_dip.recipe @@ -51,6 +51,7 @@ class LeMondeDiplomatiqueEn(BasicNewsRecipe): , dict(name='div',attrs={'class':'notes surlignable'}) ] remove_tags = [dict(name=['object','link','script','iframe','base'])] + remove_attributes = ['height','width'] def parse_index(self): articles = [] @@ -72,5 +73,5 @@ class LeMondeDiplomatiqueEn(BasicNewsRecipe): ,'url' :url ,'description':description }) - return [(soup.head.title.string, articles)] + return [(self.title, articles)]