This repository has been archived by the owner on Nov 20, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
请问这个公众号查题如何使用?原理是什么?没太看懂... #1
Comments
handle_reveive_msg处理接收到的sharing类型消息,将其中的内容(题目和回答)放入message,其他的代码你可以看看wxpy文档就清楚了 |
哦,这样啊,我发现控制台里打印不出二维码,现在正尝试去掉console=1 |
貌似还是一样调不出二维码... |
需要在config.ini中配置微信公众号名称才会调用那段代码 |
嗯,加到config.ini里了,单引号括起来的 |
我不太熟悉python...刚刚看了下wxpy的文档,试着学了几行代码...看不太懂那个sharing类型消息的结构... |
sharing类型消息是一段格式固定xml,如果改成text类型,文本内容太过丰富处理起来比较麻烦 |
哦,原来如此,我发现公众号里的回复格式是固定的,应该能转成xml |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
膜拜...非常感谢您的工具...
这段代码不太懂(wechatsearch.py里的17~39行):
谢谢!
The text was updated successfully, but these errors were encountered: