{"id":14638096,"url":"https://github.com/JaveleyQAQ/WeChatOpenDevTools-Python","last_synced_at":"2025-09-07T06:32:21.850Z","repository":{"id":217590663,"uuid":"744297530","full_name":"JaveleyQAQ/WeChatOpenDevTools-Python","owner":"JaveleyQAQ","description":"WeChatOpenDevTool 微信小程序强制开启开发者工具","archived":false,"fork":false,"pushed_at":"2024-09-15T15:11:25.000Z","size":2033,"stargazers_count":2435,"open_issues_count":53,"forks_count":645,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-01-02T00:03:03.315Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JaveleyQAQ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","funding":null,"license":null,"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":"2024-01-17T02:17:07.000Z","updated_at":"2025-01-01T12:46:01.000Z","dependencies_parsed_at":"2024-03-30T17:28:53.783Z","dependency_job_id":"e66c9d1f-bfc3-4888-b7f6-b88cf698fd31","html_url":"https://github.com/JaveleyQAQ/WeChatOpenDevTools-Python","commit_stats":{"total_commits":105,"total_committers":5,"mean_commits":21.0,"dds":0.08571428571428574,"last_synced_commit":"9e6ef5db393a07c2efb4bfebbe46bbbe0d6ad98c"},"previous_names":["javeleyqaq/wechatopendevtools-python"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaveleyQAQ%2FWeChatOpenDevTools-Python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaveleyQAQ%2FWeChatOpenDevTools-Python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaveleyQAQ%2FWeChatOpenDevTools-Python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaveleyQAQ%2FWeChatOpenDevTools-Python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JaveleyQAQ","download_url":"https://codeload.github.com/JaveleyQAQ/WeChatOpenDevTools-Python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232183058,"owners_count":18484727,"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":[],"created_at":"2024-09-10T02:01:42.835Z","updated_at":"2025-01-02T10:31:30.633Z","avatar_url":"https://github.com/JaveleyQAQ.png","language":"Python","readme":"### **注意本库只能作为学习用途, 造成的任何问题与本库开发者无关, 如侵犯到你的权益，请联系删除。**\n\n### **注意本库只能作为学习用途, 造成的任何问题与本库开发者无关, 如侵犯到你的权益，请联系删除。**\n\n### **注意本库只能作为学习用途, 造成的任何问题与本库开发者无关, 如侵犯到你的权益，请联系删除。**\n\n---\n\n# 目录\n[1. 支持版本列表](#%E5%A6%82%E4%BD%95%E6%9F%A5%E7%9C%8B%E5%BD%93%E5%89%8D%E8%BF%90%E8%A1%8C%E7%89%88%E6%9C%AC)\n\n[2. 如何查看当前运行版本?](#%E5%A6%82%E4%BD%95%E6%9F%A5%E7%9C%8B%E5%BD%93%E5%89%8D%E8%BF%90%E8%A1%8C%E7%89%88%E6%9C%AC)\n  - [windows](#windows)\n  - [mac](#mac)\n    \n[3. 食用方法](#%E9%A3%9F%E7%94%A8%E6%96%B9%E6%B3%95)\n\n - [开启小程序F12](#%E9%A3%9F%E7%94%A8%E6%96%B9%E6%B3%95)\n\n - [开启微信内置浏览器F12](#%E5%BC%80%E5%90%AF%E5%BE%AE%E4%BF%A1%E5%86%85%E7%BD%AE%E6%B5%8F%E8%A7%88%E5%99%A8F12)\n\n[4. 常见问题](#%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)\n\n\n---\n\n\n\n## 支持版本列表\n\n\u003e 感谢志远大佬的WeChatOpenDevTool开源 代码只是把node改用python3重写，简单实现了一些自动化问题，重要代码都是原作者的。\n\n| Windows 微信版本 | 小程序版本 | 是否为最新版 |\n| ---------------- | ---------- | ------------ |\n|                 | 11275_x64   | ✅           |\n|                 | 11253_x64   | ✅           |\n|                 | 11205_x64   | ✅           |\n|                 | 11159_x64   | ✅           |\n| 3.9.10.19_x64    | 9129_x64   | ✅           |\n| 3.9.10.19_x64    | 9115_x64   | ✅           |\n| 3.9.10.19_x64    | 8555_x64   | ❌           |\n| 3.9.10.19_x64    | 9105_x64   | ❌           |\n| 3.9.9.43_x64     | 8555_x64   | ❌           |\n| 3.9.9.43_x64     | 9079_x64   | ❌           |\n| 3.9.8.25_x64     | 8531_x64   | ❌           |\n| 3.9.8.25_x64     | 8529_x64   | ❌           |\n| 3.9.8.25_x64     | 8519_x64   | ❌           |\n| 3.9.8.25_x64     | 8501_x64   | ❌           |\n| 3.9.8.25_x64     | 8461_x64   | ❌           |\n| 3.9.8.25_x64     | 8447_x64   | ❌           |\n\n---\n\n\n| Mac x64微信版本              | 是否为最新版   | x             \n| ----------------            | ------------ | ------------ \n| MacWechat/3.8.8(0x13080811) | ✅           | 源码运行            \n| MacWechat/3.8.8(0x13080812) | ✅           | 源码运行   \n\n\n## 如何查看当前运行版本？\n### windows\n  \n![image](./docs/images/version0.jpg)\n\n![image](./docs/images/version1.jpg)\n![image](./docs/images/version2.jpg)\n\n### mac\n```bash\nps aux | grep 'WeChatAppEx' |  grep -v 'grep' | grep  \"wmpf-mojo-handle\" \n```\n\n\n## 食用方法\n\n### 开启小程序F12\n\n\u003e ~~只支持windows版本微信~~，运行前先启动微信运行前先启动微信（建议小号,别被封了。。。)\n\n1. 安装python3版本\n2. 下载WeChatOpenDevTools-Python或直接下载编译好的exe\n   [WeChatOpenDevTools_64.exe](https://github.com/JaveleyQAQ/WeChatOpenDevTools-Python/releases/)\n\n安装依赖\n\n```\npip3  install -r requirements.txt\n```\n\n运行✅\n\n```\npython main.py -x\n```\n\n![image](./docs/images/run.jpg)\n![image](./docs/images/MG38.jpg)\n\n---\n\n### 开启微信内置浏览器F12\n\n```python\npython  main.py -c\n```\n\n![1709657739316](./docs/images/demo1.png)\n\n![1709657739316](./docs/images/demo2.png)\n\n![image](https://github.com/JaveleyQAQ/WeChatOpenDevTools-Python/assets/132129852/04053f33-3e88-437b-a5c6-48683c984641)\n\n---\n\n### 常见问题\n\n* 无法修改中文\n  \n  - yes\n* 提示找不到版本或微信未运行❌\n  \n  - 1. 请先看支持的微信版本和小程序版本\n       - 如果还有问题看：[微信版本和小程序版本都是符合要求的，但是仍然显示“未找到匹配版本的微信进程或微信未运行”](https://github.com/JaveleyQAQ/WeChatOpenDevTools-Python/issues/38)\n    2. **如果微信版本相同小程序版本不同，就删除小程序版本目录并重启微信，直到刷出支持的小程序版本目录**\n    3. 最后回到上级目录，设置文件夹权限为只读，这样就能一直保持小程序版本一致\n       [image](https://github.com/JaveleyQAQ/WeChatOpenDevTools-Python/assets/132129852/c2b793c3-6d81-424e-a167-3b1e584cef6f)\n* 怎么回退版本？\n  \n  - https://weixin.qq.com/cgi-bin/readtemplate?lang=zh_CN\u0026t=weixin_faq_list\u0026head=true\n  - https://github.com/tom-snow/wechat-windows-versions/releases\n\n\n* mac版本闪退\n  -  ~~[macOS版本](https://github.com/JaveleyQAQ/WeChatOpenDevTools-Python/releases/)不能和windows版本一样随时hook小程序修改F12，只能先加载小程序后再hook（必须是有小程序缓存了，不然会闪退）~~\n  - 可以先启动多个需要调试的小程序后再运行软件然后再刷新小程序\n* mac版本提示 [ Error: Unable to access process with pid xxx from the current user account](https://github.com/JaveleyQAQ/WeChatOpenDevTools-Python/issues/49)\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=javeleyqaq/WeChatOpenDevTools-Python\u0026type=Date)](https://star-history.com/#javeleyqaq/WeChatOpenDevTools-Python\u0026Date)\n\n","funding_links":[],"categories":["Python","后端"],"sub_categories":["抓包"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJaveleyQAQ%2FWeChatOpenDevTools-Python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJaveleyQAQ%2FWeChatOpenDevTools-Python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJaveleyQAQ%2FWeChatOpenDevTools-Python/lists"}