crawl.py. I try to port it to python3. I leave out all unnecessary details. Error:
Traceback (most recent call last):
File "crawl.py", line 44, in parseAndGetLinks
self.parser = html.parser(AbstractFormatter(DumbWriter(StringIO())))
TypeError: 'module' object is not callable
import html.parser
from formatter import DumbWriter, AbstractFormatter
from io import StringIO
parser = html.parser(AbstractFormatter(DumbWriter(StringIO())))