diff --git a/recipes/echo_online.recipe b/recipes/echo_online.recipe index ebd754445d..b617899795 100644 --- a/recipes/echo_online.recipe +++ b/recipes/echo_online.recipe @@ -24,7 +24,7 @@ class Echo_Online(BasicNewsRecipe): __author__ = 'Armin Geller' language = 'de' lang = 'de-DE' - encoding = 'iso-8859-1' + encoding = 'utf-8' timefmt = ' [%a, %d %b %Y]' @@ -365,5 +365,10 @@ class Echo_Online(BasicNewsRecipe): dict(name='ul', attrs={'class': 'funcs'}), ] + def preprocess_html(self, soup): + for img in soup.findAll('img', attrs={'data-lazy':True}): + img['src'] = img['data-lazy'] + return soup + # cover_url = 'http://adcounter.darmstaedter-echo.de/webdav/files/config/gui/images/Zeitungsfaecher.gif'