程序员最近都爱上了这个网站  程序员们快来瞅瞅吧!  it98k网:it98k.com

本站消息

站长简介/公众号

  出租广告位,需要合作请联系站长

+关注
已关注

分类  

暂无分类

标签  

暂无标签

日期归档  

暂无数据

还有其他方法可以解决 whatsapp 消息的自动化吗?

发布于2023-02-27 01:48     阅读(1111)     评论(0)     点赞(1)     收藏(5)


我使用基本解释器“conda”在 VS 代码中输入了这段代码,即 miniconda 3

导入pywhatkit

pywhatkit.sendwhatmsg("xxxxxxxx", " good morning from python",10,00) x is the phone number

The problem is, all it does is load the message in WhatsApp's textbox, it does not send. Is something wrong with my program or need to install something else?


解决方案


我有同样的问题,我发现需要在执行的代码和 whatsapp web 完全打开粘贴消息并发送它的时间之间设置足够的时间间隔,尝试至少 30 秒或更长时间(wait_time = 30 或更多)。否则“在子弹到达现场之前扣动扳机”



所属网站分类: 技术文章 > 问答

作者:黑洞官方问答小能手

链接:http://www.phpheidong.com/blog/article/492946/607e17326c961d7eea93/

来源:php黑洞网

任何形式的转载都请注明出处,如有侵权 一经发现 必将追究其法律责任

1 0
收藏该文
已收藏

评论内容:(最多支持255个字符)