The following appears to work for me (based on a very quick check). Pasting in case it's useful to others.
--- pylookup.py~ 2022-11-25 01:29:37.643863100 +0530
+++ pylookup.py 2022-11-26 18:11:38.158974986 +0530
@@ -20,7 +20,6 @@
import cPickle as pickle
except:
import pickle
-import formatter
from os.path import join, dirname, exists, abspath, expanduser
from contextlib import closing
@@ -126,7 +125,7 @@
"""
def __init__( self, writer, dirn):
- htmllib.HTMLParser.__init__( self, formatter.NullFormatter() )
+ html.parser.HTMLParser.__init__( self, formatter.NullFormatter() )
self.writer = writer
self.dirn = dirn
The following appears to work for me (based on a very quick check). Pasting in case it's useful to others.