{"id":20978292,"url":"https://github.com/normanbb/wjx_autosubmit","last_synced_at":"2025-05-14T14:32:37.533Z","repository":{"id":201514888,"uuid":"201234331","full_name":"NormanBB/WJX_Autosubmit","owner":"NormanBB","description":"问卷星问卷自动提交，Python3版本，2020年8月仍有效","archived":false,"fork":false,"pushed_at":"2021-01-19T06:06:36.000Z","size":179,"stargazers_count":45,"open_issues_count":2,"forks_count":14,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T19:40:06.292Z","etag":null,"topics":["python3","wjx"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NormanBB.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}},"created_at":"2019-08-08T10:22:21.000Z","updated_at":"2024-08-23T01:48:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"c4a655bd-704c-428d-9812-98c02128df72","html_url":"https://github.com/NormanBB/WJX_Autosubmit","commit_stats":null,"previous_names":["normanbb/wjx_autosubmit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NormanBB%2FWJX_Autosubmit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NormanBB%2FWJX_Autosubmit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NormanBB%2FWJX_Autosubmit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NormanBB%2FWJX_Autosubmit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NormanBB","download_url":"https://codeload.github.com/NormanBB/WJX_Autosubmit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254160648,"owners_count":22024574,"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":["python3","wjx"],"created_at":"2024-11-19T05:04:58.931Z","updated_at":"2025-05-14T14:32:37.527Z","avatar_url":"https://github.com/NormanBB.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/NormanBB/WJX_Autosubmit) ![Gitpod ready-to-code](http://img.shields.io/badge/Python-3.8.7-blue?logo=python)\n\n# 更新\n\n2021-01-19\n\n又是一年过去，再次打开自己的划水项目。看看问卷星又上了哪些反爬虫机制。目前问卷星部署了阿里云的[人机验证](https://help.aliyun.com/document_detail/28310.html?)，cookies中新增了一些参数。本人才疏学浅，且懒，导致无法继续。在此留下一些参考项目已供后者参考。\n\n- [项目本体的面向对象写法](https://gitee.com/super401/python_scraping/blob/master/%E9%97%AE%E5%8D%B7%E6%98%9F/wjx.py)\n- [使用pyautogui对按钮位置进行定位](https://blog.csdn.net/hongmaodaxia/article/details/104833432) \n\n# WJX_Autosubmit\n\n问卷星自动提交，Python3版本，2020年8月仍有效。采用构建随机答案，不支持验证码。\n\n目前github上的可用版本并不多，同时个人接触较多问卷星的问卷，便萌生了用Python3的爬虫来完成问卷的想法，同时，作为学习的项目。\n\n## 程序运行\n\n1. 安装依赖。\n\n\u003e pip install -r requirements.txt\n\n### 帮助信息\n\n```\n    Usage: WJX_Autosubmit.py [OPTIONS]\n\n    Options:\n    -p or --pool   use proxy from github.com/jhao104/proxy_pool\n    -l or --list   use proxy from www.proxy-list.download\n    -h or --help  Show this message and exit.\n```\n\n### 使用例子\n\n![](./result.png)\n\n### 说明\n\n如上图所示，20份问卷中有5份由于代理不可用而提交失败（有些时候，程序出现异常跳过会导致总数不一致的情况）。目前项目提供两个代理来源选择，在抓取所选来源的代理后，会进行一次校验。尽管源头已进行过筛选，但是依然有出现代理不可用的情况。在向问卷星进行提交时，筛选过的代理依然会出现代理不可用的情况。目前在每次运行程序完成时，会将无效代理从代理存储文件中删除，当程序运行次数越多，就可以达成有效提交次数越多的情况。\n\n强烈建议代理存储文件仅当天保留，之后运行时可删除，程序会自行从所选代理来源抓取新的代理。\n\n当然也可以自己采用付费https代理。\n\n### 重要说明\n\n**请优先采取使用proxy-list的代理。**\n\n#### 代理存储文件\n\n![](./proxy_template.png)\n\n如选择从 proxy_list 获取代理，程序会先保存为 ` proxy_list.list `,将验证后代理保存为 ` proxy_pool_temp.list `。\n\n这两个代理来源的区别是，proxy_list 的有效代理数量更多，国外代理的数量相比国内更多，proxy_pool则相反。\n\n## 鸣谢\n\n- [简书：Python填写问卷星]( https://www.jianshu.com/p/34961ceedcb4)\n- [Python笔记（六）--Python3通过post方法实现自动提交问卷星调查问卷](http://www.pianshen.com/article/6056350400/)\n- [WJXAutoSubmit](https://github.com/huanxyx/WJXAutoSubmit )\n- [Free_Proxy_Website](https://github.com/cyubuchen/Free_Proxy_Website)\n- [问卷星项目](https://github.com/tignioj/test_login/tree/master/wjx) \n\n## Bugs\n\n程序仅支持固定问题的问卷，并不支持问题动态变化的问卷。\n\n欢迎对不同种类问卷进行适配并提交pull request.\n\n在此推荐一个适配多种题型的项目。\n\n- [自动填写问卷并提交,然后自动刷新继续填写](https://github.com/ZainCheung/wenjuanxin)\n\n### 更新日志\n\n#### V 1.0  2019年8月9日完成\n\n- 使用西刺代理。\n\n#### 2.0  2020年8月20日完成\n\n- 更换代理来源\n- 引入多线程验证\n- 增加启动参数\n- 匹配问卷星新headers。\n- 自定义模块使用面向对象方法\n\n#### 已弃坑\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnormanbb%2Fwjx_autosubmit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnormanbb%2Fwjx_autosubmit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnormanbb%2Fwjx_autosubmit/lists"}