Giter VIP home page Giter VIP logo

seckill's Introduction

软件介绍

GitHub issues License MIT

Seckill是一款使用Python和pyqt编写,利用selenium库实现的自动化抢单软件,它界面友好,使用方便,可以帮助你在购物时快人一步,及时秒杀到自己想要的商品。

qiang

源码配置

开发环境:

Python 3.7.9 + PyCharm2021(Professional Edition)

PyQt5

Chrome 100.0.4896.60

windows/linux配置方法:

pip install pyqt5 #pyqt5的界面

pip install selenium #核心包,用于自动化chrome

pip install qrainbowstyle #这个包用来更改界面配置

python3 main.py

文档结构

SecKill
│  chromedriver.exe           ----浏览器驱动
│  main.py                    ----函数入口+核心函数
│  README.md        
│  settime.py                 ----定时抢单模块
│
├─icons
│
├─manual                      ----帮助文档
│  │  about.html
│  └─  index.html
│
└─  my_ui
   └─  SeckillUi.py          ----界面文件

常见的问题与调试

我的系统chrome版本是100.0.4896.60,使用默认的chromedriver可能会和你的版本不同 你可以选择下载100.0.4896.60的chrome浏览器 也可以将主目录中的chromedriver.exe更换为你的chrome对应的版本,这里建议你使用后一种方法,chromedriver下载地址为:http://chromedriver.storage.googleapis.com/index.html

建议和期待

欢迎大家对本软件fork进行改进,如果觉得不错可以给个stars✨或者关注一下作者 在尝试使用pyinstaller发布本软件exe版本时,出现了一些bug,例如外部库和图片资源不能成功导入等,所以暂时没有发布exe版本,大家可以尝试一下,期待你的改进!

使用说明

第一步 选择购物平台

目前我们支持的购物平台包括淘宝和京东

第二步 输入商品链接

在淘宝或京东的网页端找到你要购买的商品页,例如https://item.jd.com/100014219124.html

第三步 选择购物方式

方式1:马上抢购

点击图标后,左侧的自动化网页即会跳转到淘宝/京东登录页面,使用手机扫码登录,登陆成功后网页会自动跳转至对应商品界面,选择要购买的商品类型和商品数量,等待秒杀活动开始时,软件会自动在活动开始时0.01秒内进行秒杀,之后会自动提交订单并跳转至付款界面,提示您抢购成功。

方式2:定时抢购

点击图标later后,会弹出设置抢单时间页面,设置成功后,左侧的自动化网页即会跳转到淘宝/京东登录页面,使用手机扫码登录,登陆成功后网页会自动跳转至对应商品界面,选择要购买的商品类型和商品数量,之后软件会在设定的时间开始自动进行抢单。

关于

请注意:连续长时间多次使用本软件抢单可能会被购物平台列为敏感用户。

本软件是 Distiny 在应用软件设计课程的小作业,抢单功能及代码逻辑仅供个人使用和学习,请勿滥用。

欢迎对本软件的设计和改进提出建议!

seckill's People

Contributors

distiny-cool avatar

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.