diff --git a/recipes/private_eye.recipe b/recipes/private_eye.recipe index 594ba5ab7d..f07571a297 100644 --- a/recipes/private_eye.recipe +++ b/recipes/private_eye.recipe @@ -236,7 +236,7 @@ It offers a unique blend of humour, social and political observations and invest return self.page_index - def postprocess_html(self, soup, first): + def preprocess_html(self, soup): for figure in soup.findAll('a', attrs = {'href' : lambda x: x and ('jpg' in x or 'png' in x or 'gif' in x)}): # makes sure that the link points to the absolute web address if figure['href'].startswith('/'):