You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Addon error: Traceback (most recent call last):
File "recordTraffic.py", line 134, in response
outFile.write(JSBeautifier.beautify(flow.response.content.decode(charSet), 2))
File "C:\bin\Python-3.10.4\lib\site-packages\html5print\jsprint.py", line 93, in beautify
tree = parser.parse(decodeText(js))
File "C:\bin\Python-3.10.4\lib\site-packages\slimit\parser.py", line 93, in parse
return self.parser.parse(text, lexer=self.lexer, debug=debug)
File "C:\bin\Python-3.10.4\lib\site-packages\ply\yacc.py", line 265, in parse
return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
File "C:\bin\Python-3.10.4\lib\site-packages\ply\yacc.py", line 971, in parseopt_notrack
p.callable(pslice)
File "C:\bin\Python-3.10.4\lib\site-packages\slimit\parser.py", line 1101, in p_case_block
p[0] = p[2:-1]
File "C:\bin\Python-3.10.4\lib\site-packages\ply\yacc.py", line 198, in __getitem__
if n >= 0: return self.slice[n].value
TypeError: '>=' not supported between instances of 'slice' and 'int'
I am using html5print to pretty print JS code in an MITMproxy addon
The text was updated successfully, but these errors were encountered:
I am using html5print to pretty print JS code in an MITMproxy addon
The text was updated successfully, but these errors were encountered: