链工宝答题自动化
题库不全,比较看脸
- git clone https://github.com/nfjBill/liangongbao.git
- users.yaml配置好账号,密码,可批量。(userAgent可选,可设置userAgent为本机设备)
- pip install -r requirements.txt
- python main.py
every_day
为每日触发脚本时间users.yaml
为用户配置文件,可提前配置,参考项目中users.yaml
docker run \
--name lgb -d \
--restart=always \
-e every_day="06:00" \
-v /绝对路径/users.yaml:/users.yaml \
nfjbill/liangongbao:1.4
version: '3.1'
services:
lgb:
image: nfjbill/liangongbao:1.4
container_name: lgb
restart: always
environment:
- every_day="06:00"
volumes:
- ./users.yaml:/users.yaml