python接收微信消息报'HTMLParser' object has no attribute 'unescape'错误
我的博客
一直有个想法,想要弄个微信机器人,然而出师不利,刚开始就碰壁了
先上代码,这个是用来接收消息的,是个测试脚本
#!/usr/bin/python # coding: utf-8 import itchat def write_infomation(text_value): print(text_value) @itchat.msg_register(itchat.content.TEXT) def get_reply(msg): write_infomation(msg.text) itchat.auto_login() itchat.run()
hmoban主题是根据ripro二开的主题,极致后台体验,无插件,集成会员系统
自学咖网 » python接收微信消息报'HTMLParser' object has no attribute 'unescape'错误
自学咖网 » python接收微信消息报'HTMLParser' object has no attribute 'unescape'错误