此次利用wxpy可以进行微信公众号的消息推送监测(代码超级简单),这样能进行实时获取链接。但是不光会抓到公众号的消息,好友的消息也会抓到(以后会完善的,毕竟现在能用了,而且做项目的微信号肯定是没有好友的)话不多说,直接扔代码(简直好用的不得了)!

# coding=utf-8
from wxpy import *


bot = Bot()
@bot.register()
def print_others(msg):
    msg.forward(bot.file_helper)  
    sent_msgs = bot.messages.search(sender=bot.self) 

embed()

 

相关文章:

  • 2021-12-02
  • 2021-12-22
  • 2021-08-16
  • 2021-12-04
  • 2021-11-19
猜你喜欢
  • 2021-12-15
  • 2019-07-30
  • 2021-11-02
  • 2021-11-27
  • 2021-08-16
  • 2021-12-14
相关资源
相似解决方案