{"id":13456477,"url":"https://github.com/cluic/wxauto","last_synced_at":"2025-05-14T04:08:25.213Z","repository":{"id":38615742,"uuid":"396413613","full_name":"cluic/wxauto","owner":"cluic","description":"Windows版本微信客户端（非网页版）自动化，可实现简单的发送、接收微信消息，简单微信机器人","archived":false,"fork":false,"pushed_at":"2025-02-21T03:46:58.000Z","size":1472,"stargazers_count":4729,"open_issues_count":205,"forks_count":718,"subscribers_count":103,"default_branch":"WeChat3.9.11","last_synced_at":"2025-05-11T17:04:28.858Z","etag":null,"topics":["automatic","python","rpa","wechat","weixin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cluic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-15T16:24:05.000Z","updated_at":"2025-05-11T15:19:03.000Z","dependencies_parsed_at":"2024-02-06T09:28:52.591Z","dependency_job_id":"dbdac64a-75f5-4dad-8abd-2386811e03a6","html_url":"https://github.com/cluic/wxauto","commit_stats":{"total_commits":87,"total_committers":1,"mean_commits":87.0,"dds":0.0,"last_synced_commit":"6abfdaccf5673d70cd137046e161777b25d4697a"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cluic%2Fwxauto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cluic%2Fwxauto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cluic%2Fwxauto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cluic%2Fwxauto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cluic","download_url":"https://codeload.github.com/cluic/wxauto/tar.gz/refs/heads/WeChat3.9.11","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254069708,"owners_count":22009558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automatic","python","rpa","wechat","weixin"],"created_at":"2024-07-31T08:01:22.751Z","updated_at":"2025-05-14T04:08:20.200Z","avatar_url":"https://github.com/cluic.png","language":"Python","readme":"[![wxauto](https://github.com/cluic/wxauto/blob/WeChat3.9.11/utils/wxauto.png)](https://docs.wxauto.org)\n# wxauto  (适用PC微信3.9.11.17版本）\n\n### 欢迎指出bug，欢迎pull requests\n\nWindows版本微信客户端自动化，可实现简单的发送、接收微信消息、保存聊天图片\n\n**3.9.11.17版本微信安装包下载**：\n[点击下载](https://github.com/tom-snow/wechat-windows-versions/releases/download/v3.9.11.17/WeChatSetup-3.9.11.17.exe)\n\n**文档**：\n[使用文档](https://docs.wxauto.org) |\n[云服务器wxauto部署指南](https://docs.wxauto.org/other/deploy)\n\n|  环境  | 版本 |\n| :----: | :--: |\n|   OS   | [![Windows](https://img.shields.io/badge/Windows-10\\|11\\|Server2016+-white?logo=windows\u0026logoColor=white)](https://www.microsoft.com/)  |\n|  微信  | [![Wechat](https://img.shields.io/badge/%E5%BE%AE%E4%BF%A1-3.9.11.X-07c160?logo=wechat\u0026logoColor=white)](https://pan.baidu.com/s/1FvSw0Fk54GGvmQq8xSrNjA?pwd=vsmj) |\n| Python | [![Python](https://img.shields.io/badge/Python-3.X-blue?logo=python\u0026logoColor=white)](https://www.python.org/) **(不支持3.7.6和3.8.1)**|\n\n\n\n[![Star History Chart](https://api.star-history.com/svg?repos=cluic/wxauto\u0026type=Date)](https://star-history.com/#cluic/wxauto)\n\n## 获取wxauto\ncmd窗口：\n```shell\npip install wxauto\n```\npython窗口：\n```python\n\u003e\u003e\u003e import wxauto\n\u003e\u003e\u003e wxauto.VERSION\n'3.9.11.17'\n\u003e\u003e\u003e wx = wxauto.WeChat()\n初始化成功，获取到已登录窗口：xxx\n```\n\n\n## 示例\n\u003e [!NOTE]\n\u003e 如有问题请先查看[使用文档](https://docs.wxauto.org)\n\n**请先登录PC微信客户端**\n\n```python\nfrom wxauto import *\n\n\n# 获取当前微信客户端\nwx = WeChat()\n\n\n# 获取会话列表\nwx.GetSessionList()\n\n# 向某人发送消息（以`文件传输助手`为例）\nmsg = '你好~'\nwho = '文件传输助手'\nwx.SendMsg(msg, who)  # 向`文件传输助手`发送消息：你好~\n\n\n# 向某人发送文件（以`文件传输助手`为例，发送三个不同类型文件）\nfiles = [\n    'D:/test/wxauto.py',\n    'D:/test/pic.png',\n    'D:/test/files.rar'\n]\nwho = '文件传输助手'\nwx.SendFiles(filepath=files, who=who)  # 向`文件传输助手`发送上述三个文件\n\n\n# 下载当前聊天窗口的聊天记录及图片\nmsgs = wx.GetAllMessage(savepic=True)   # 获取聊天记录，及自动下载图片\n```\n## 注意事项\n目前还在开发中，测试案例较少，使用过程中可能遇到各种Bug\n\n## 交流\n\n[微信交流群](https://wxauto.loux.cc/docs/intro#-%E4%BA%A4%E6%B5%81)\n\n## 最后\n如果对您有帮助，希望可以帮忙点个Star，如果您正在使用这个项目，可以将右上角的 Unwatch 点为 Watching，以便在我更新或修复某些 Bug 后即使收到反馈，感谢您的支持，非常感谢！\n\n## 免责声明\n代码仅用于对UIAutomation技术的交流学习使用，禁止用于实际生产项目，请勿用于非法用途和商业用途！如因此产生任何法律纠纷，均与作者无关！\n\n\n\n","funding_links":[],"categories":["Python","网络服务"],"sub_categories":["网络服务_其他"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcluic%2Fwxauto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcluic%2Fwxauto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcluic%2Fwxauto/lists"}