Git Product home page Git Product logo

seckill's Introduction

Seckill

This code only match for 1111 in 2020 taobao, I'll tidy up the project by free or in need on myself.

This code just pass test on MacOS 14. Windows and Linux guys should test it before.

Enjoy it! Good luck!


Usage

  • Mac OS: python3 ./seckill_darwin.py
  • Windows: py .\seckill_windows.py
  • Linux: python3 ./seckill_linux.py

Steps

  1. Python3
  2. Selenium
  3. ChromeDriver

If your Chrome version equal to 86.0.4240.111, just use these bin files I provide.

Install Selenium

pip3 install selenium --user

Install ChromeDriver

Reference: https://www.jianshu.com/p/39716ea15d99

1. download driver

This is the official ChromeDriver download address.

Taobao mirror of chromedriver

Check out the version of Chrome, view chrome://settings/help by your Chrome

Use The ChromeDriver download link to find the Chrome version and download it based on your computer’s platform type.

Download zip packages:

wget https://chromedriver.storage.googleapis.com/86.0.4240.22/chromedriver_mac64.zip

2. setup it

Once the download is complete, UNZIP IT and place it in the Scripts folder under the Python installation path, or copy driver file to /usr/bin on MacOS.

Windows: <your python root folder>\\Scripts
Mac OS: /usr/bin

Notice: On mac, it can't copy anything to the folder, so, copy it to any place your python can invoke it.

Modify Python Code

Last line: buy('2020-11-01 00:00:00')

modify it for you need.

EOF

seckill's People

Contributors

wedojava 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.