From f81b1c950074a8ab181b3f91034f58db9c2b8c54 Mon Sep 17 00:00:00 2001 From: "Jip J. Dekker" Date: Sun, 1 Jun 2014 20:25:46 +0200 Subject: [PATCH] Fixed a typo --- FourmiCrawler/sources/source.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FourmiCrawler/sources/source.py b/FourmiCrawler/sources/source.py index 1ac0b9e..d289d72 100644 --- a/FourmiCrawler/sources/source.py +++ b/FourmiCrawler/sources/source.py @@ -12,13 +12,13 @@ class Source: """ pass - def parse(self, reponse): + def parse(self, response): """ This function should be able to parse all Scrapy Response objects with a URL matching the website Regex. - :param reponse: A Scrapy Response object + :param response: A Scrapy Response object :return: A list of Result items and new Scrapy Requests """ - log.msg("The parse function of the empty parser was used.", level=log.WARNING) + log.msg("The parse function of the empty source was used.", level=log.WARNING) pass def new_compound_request(self, compound):