We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
您好。我刚试用您的SBB,在win10, 64位电脑,Python 2.7.8下,但出现报错。请求您的帮助。多谢! 报错信息如下:
E:\SOFTWARE\SBB-master>SBB.py http://blog.sina.com.cn/surebb 1415368884
Traceback (most recent call last): File "E:\SOFTWARE\SBB-master\SBB.py", line 175, in objFileArticle = open(strLocalFilename, "w") IOError: [Errno 22] invalid mode ('w') or filename: 'Post_1_545cd0b40100038z_\xe5\x86\x99\xe7\x82\xb9\xe5\x84\xbf\xe4\xbb\x80\xe4\xb9\x88\xe5\x91\xa2\xef\xbc\x9f2006.4.16.html'
The text was updated successfully, but these errors were encountered:
My friend Hongjun Jiang edit it as: objFileArticle = open(strLocalFilename.decode('utf-8'), "w")
It runs well now. Thank you!
Sorry, something went wrong.
My friend Hongjun Jiang edit it as: objFileArticle = open(strLocalFilename.decode('utf-8'), "w") It runs well now. Thank you!
确实成功了,感谢!!!
No branches or pull requests
您好。我刚试用您的SBB,在win10, 64位电脑,Python 2.7.8下,但出现报错。请求您的帮助。多谢!
报错信息如下:
E:\SOFTWARE\SBB-master>SBB.py http://blog.sina.com.cn/surebb
1415368884
Traceback (most recent call last):
File "E:\SOFTWARE\SBB-master\SBB.py", line 175, in
objFileArticle = open(strLocalFilename, "w")
IOError: [Errno 22] invalid mode ('w') or filename: 'Post_1_545cd0b40100038z_\xe5\x86\x99\xe7\x82\xb9\xe5\x84\xbf\xe4\xbb\x80\xe4\xb9\x88\xe5\x91\xa2\xef\xbc\x9f2006.4.16.html'
The text was updated successfully, but these errors were encountered: