When I updated my packages I have this new error:
class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder): AttributeError: \'module\' object ha
Just install html5lib using this because if you install the normal way then you have to spider using python2.
html5lib
sudo pip3 install html5lib==0.9999999