I wanted to import a network of twee passages into Houdini to view as a connected graph
I used twee2 the command line tool to decompile twine2 gui html files
I the tw2 was a lot easier to strip apart in python.
Just drop the code in a python sop and point it to the tw2 file, might work?