code-monkey-search icon indicating copy to clipboard operation
code-monkey-search copied to clipboard

Client not defined issue

Open Rexdomine opened this issue 4 years ago • 1 comments

hi please, I keep getting this issue when running crawler.py

Traceback (most recent call last): File "crawler.py", line 93, in crawler.crawl('http://portal.uea.ac.uk/', 5) File "crawler.py", line 82, in crawl self.crawl(link['href'], depth - 1) File "crawler.py", line 82, in crawl self.crawl(link['href'], depth - 1) File "crawler.py", line 82, in crawl self.crawl(link['href'], depth - 1) [Previous line repeated 1 more time] File "crawler.py", line 89, in crawl client.close() NameError: name 'client' is not defined

Rexdomine avatar Nov 19 '20 12:11 Rexdomine