This commit is contained in:
Kovid Goyal 2017-06-12 18:13:00 +05:30
parent c057adb460
commit 609105e4c9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -86,8 +86,7 @@ class PrivateEyeRecipe(BasicNewsRecipe):
date = self.publication_date date = self.publication_date
if url and url not in self.urls: if url and url not in self.urls:
self.urls.append(url) self.urls.append(url)
self. self.info(
info(
"Page added: %s: %s: %s (%s)" % (date, title, description, url) "Page added: %s: %s: %s (%s)" % (date, title, description, url)
) )
self.current_articles.append({ self.current_articles.append({
@ -104,7 +103,7 @@ class PrivateEyeRecipe(BasicNewsRecipe):
# Process the Index page to get the content for the ebook # Process the Index page to get the content for the ebook
def parse_index(self): 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 = [] self.page_index = []
soup = self.index_to_soup(self.INDEX) soup = self.index_to_soup(self.INDEX)