Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Latest commit

 

History

History
82 lines (66 loc) · 2.99 KB

README.md

File metadata and controls

82 lines (66 loc) · 2.99 KB

Automated checkout for Supreme 👕

*demonstration*

(Card details are not real!)

Features

  • Search function to find the item.
  • Category selection. (BONUS)
  • Style/colour selection.
  • Size selection.
  • Load different shipping/billing & card profiles.
  • Does not scam you.

Getting Started

Python and a few libraries are necessary to run the file.

Prerequisites

Installing

Click here to download or copy

git clone https://github.com/cjxe/supreme-auto-checkout

and right click on the command-line to paste.

⚠️ Do not forget to install the necessary libraries.

  • To install the dependencies, copy:
pip install -r requirements.txt

and paste on the command-line.

Usage

console

  1. After installing Python and the necessary libraries, double click main.py.
  2. Enter which shipping configuration you want to use (i.e for shipping_1, enter 1).
  3. Enter which card configuration you want to use (i.e for card_1, enter 1).
  4. Enter category (i.e Jackets).
  5. Enter keyword(s) (i.e Script, Wool).
  6. Enter a colour (i.e Purple).
  7. Enter a list of different sizes (i.e S, XL, M).

To Do List

  • Find item by id. (Replaced by "find item by keywords")
  • Load profile/config files into the bot.
  • Used Beautiful Soup Selenium and JSON to scrape the data from shop's website.
  • Make a search function which takes a list of words and then looks up in the JSON data and finds the item.
  • Add size selection.
  • Accept a list of sizes and iteratively try every size until the bot finds one in stock.
  • Add style/colour selection.
  • Accept a list of colours and iteratively try every colour until the bot finds one in stock.
  • Fancy the terminal. (added colour)
  • Enter shipping & card details using JavaScript.
  • If found CAPTCHA, wait until it is solved.
  • Better error handling (possibly with requests library).
  • Create a similar bot mainly using Requests instead of Selenium.

Running the tests

  • PEP 8 is followed while coding this app.
  • Checking out works at normal times.

Found a bug or want to contribute?

  • For bugs and requests please create a new issue here.

USE AT YOUR OWN RISK!!

HitCount