From 609105e4c9ae70fd18e702a95f06605966cce076 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 12 Jun 2017 18:13:00 +0530 Subject: [PATCH] ... --- recipes/private_eye.recipe | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/recipes/private_eye.recipe b/recipes/private_eye.recipe index d3a5f37a08..7a283ea7bc 100644 --- a/recipes/private_eye.recipe +++ b/recipes/private_eye.recipe @@ -86,8 +86,7 @@ class PrivateEyeRecipe(BasicNewsRecipe): date = self.publication_date if url and url not in self.urls: self.urls.append(url) - self. - info( + self.info( "Page added: %s: %s: %s (%s)" % (date, title, description, url) ) self.current_articles.append({ @@ -104,7 +103,7 @@ class PrivateEyeRecipe(BasicNewsRecipe): # Process the Index page to get the content for the ebook def parse_index(self): - self.log.info('Private Eye: Parse Index: %s' % INDEX) + self.log.info('Private Eye: Parse Index: %s' % self.INDEX) self.page_index = [] soup = self.index_to_soup(self.INDEX) @@ -230,7 +229,7 @@ It offers a unique blend of humour, social and political observations and invest Published fortnightly, the magazine is read by over 700,000 readers and costs just £1.80 an issue.""", date="") self.page_index_append("About Private Eye") - + self.log.info('Private Eye: Parse Index complete') return self.page_index