Skip to content

百度莱茨狗抢购,多线程,Google tesseract-ocr识别验证码和手动输入验证码

Notifications You must be signed in to change notification settings

lokaven/pet-chain-buyer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pet-chain-buyer

百度莱茨狗抢购脚本,采用多线程查询购买,Google tesseract-ocr识别验证码和手动输入验证码两种方式,代码持续优化中

参考 pet-chain 项目

使用方法

  • 配置好需要的依赖库
  • 用自己的headers替换config目录下headers.txt文件内容
  • 编辑config/config.ini文件配置不同种类狗的最高买入价格以及是否自动填写验证码

1. 手动输入验证码

a. 先在命令行执行 python pic.py,加载验证码,当有新的验证码时会及时刷新

b. 然后执行python pet-chain.py

2. 自动输入验证码

a. 直接执行python pet-chain.py 现在自动输入验证码正确率比较低,建议采用第一种方式,后续进行代码优化

About

百度莱茨狗抢购,多线程,Google tesseract-ocr识别验证码和手动输入验证码

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%