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
OS:Windows 10 16299.19 64-bit
Python:v3.6.3:2c5fed8, Oct 3 2017, 18:11:49
出错时提示:
Traceback (most recent call last):
File "lofter_crawler.py", line 203, in
main(blogname, TIMESLEEP)
File "lofter_crawler.py", line 177, in main
text.process_item(item)
File "lofter_crawler.py", line 148, in process_item
self.file.write(text+'\n')
UnicodeEncodeError: 'gbk' codec can't encode character '\u****' in position *: illegal multibyte sequence
(*处不同lofter的值不同 character处出现过如:\u0e51、\u2764等)
The text was updated successfully, but these errors were encountered:
OS:Windows 10 16299.19 64-bit
Python:v3.6.3:2c5fed8, Oct 3 2017, 18:11:49
出错时提示:
Traceback (most recent call last):
File "lofter_crawler.py", line 203, in
main(blogname, TIMESLEEP)
File "lofter_crawler.py", line 177, in main
text.process_item(item)
File "lofter_crawler.py", line 148, in process_item
self.file.write(text+'\n')
UnicodeEncodeError: 'gbk' codec can't encode character '\u****' in position *: illegal multibyte sequence
(*处不同lofter的值不同 character处出现过如:\u0e51、\u2764等)
The text was updated successfully, but these errors were encountered: