Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "crawler.py", line 260, in crawl_worker
if link[0] == '/':
IndexError: string index out of range
Checklist
Expected Behavior
No errors.
Actual Behavior
Seemingly randomly, crawling a url will fail with a
error. There doesn't seem to be anything wrong with the URLs:
Steps to Reproduce the Problem
What I've tried so far
Raising the error gave the traceback:
Specifications