Git Product home page Git Product logo

wjx_auto's Introduction

wjx_auto(问卷星自动填写)

文档更新时间(2023/8/16)

模拟selenium浏览器打开问卷星网址,模拟点击选项,提交

目前仅支持单选多选

支持选项权重

已绕过智能按钮验证

滑块验证已绕过

因为这个项目我部署到一个单核破烂服务器上的,所以没采用多进程(其实是太懒了😪)。有能力的自己改一下。

使用说明

1.确保目录下的chromedriver.exe版本和chrome浏览器版本一致(或相差一个版本)。 驱动下载地址

2.修改config.py里的参数。

base_url为问卷地址

max_num为题目数量

loop_time为想要刷取的次数

3.根据问卷内容,修改main.py中的auto_choose()里的choose_click(browser,type,num,questions,weights)

browser默认;

type是题目类型,3为单选,4为多选;

num为题目序号;

questions为题目选项个数;

weights为每个选项的权重, 格式为 [ ]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.