JSParser
JSParser copied to clipboard
No module named 'StringIO'
Traceback (most recent call last):
File "/root/tools/JSParser/handler.py", line 5, in
Pls help me to solve this issues
replace import StringIO
to from io import StringIO
after replacing
Traceback (most recent call last):
File "/root/tools/JSParser/handler.py", line 5, in
already present urlparse handler.py
I get the exact same error when trying ghosts suggestion.
replace import safeurl, types, sys, re, mimetypes, glob, jsbeautifier, urlparse, pycurl, StringIO to on handler.py file
to below one
import safeurl, types, sys, re, mimetypes, glob, jsbeautifier, pycurl from urllib.parse import urlparse from io import StringIO