with open("js/vm.js.bak", encoding="utf8") as f:
tdc = prepare(f.read(), ip="", mouse_track=[(50, 42), (50, 55)])
print( tdc.getInfo().__dict__ ) # a python dict
print( unquote(tdc.getData(None, True)) ) # a python str
Result
{'info': "'8+Zjzy9Ja2GgOsYJI7XywVwk3GS2LpII4INv+GUIsxoFnEpa2ztg4urIC/g6EVgeWWAtxntCGjL4UXw/U8yay19z5meR4VQadVxPIgkmfHW/WxzNKwe/YYbvYSVXvevHszP1GJvxRrFQsEEXnVdoJFIDB/JAS0/+2GZ74rDV2k2yOT/k8KCXcZ1sFXE1GblEmNuDjOdWUGtf6SzUek3NfsO3qaIYLutf70Qn0pDBdqc='", 'tokenid': ''}
Err: TypeError: undefined is not a function
It gives an error when it tries to parse more than once.
Trying to parse second time with same code
Result