-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
老是出现gbk错误 请问怎么解决呢? #1
Comments
谢谢你 sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf8') # 我太菜了 |
应该是本地python的编码有问题,实在不行的话就把print(url)那一整段都删了吧,输出的时候使用-ou和-os命令。具体看README文件。 |
删除了还是 失败 我用https://blog.csdn.net/jim7424994/article/details/22675759中的列子 import urllib.request import io 正常输出 但是修改到JSFinder.py 就没有用 |
尝试用kali运行?实在不行的话,我也没办法。 |
Traceback (most recent call last): |
使用命令py -3 JSFinder.py -u https://www.mi.com -d -ou mi_url.txt -os mi_subdomain.txt
老是出现
Traceback (most recent call last):
File "JSFinder.py", line 247, in
giveresult(urls, args.url)
File "JSFinder.py", line 221, in giveresult
print(url)
UnicodeEncodeError: 'gbk' codec can't encode character '\u200b' in position 81: illegal multibyte sequence
The text was updated successfully, but these errors were encountered: