This program was created to make it easier for users to make product transactions on the Shopee e-commerce website
This program is a BOT that will automatically purchase a product based on the information entered by the user. The information required is as follows:
- Login information (such as email, password, phone number, or cookies);
- Product information (containing product links)
- Purchase time information (containing hours and minutes when the product will be purchase)
This program is made using the Python and uses the Selenium library.
graph LR
A((Start)) --> B[Login with Email]
A --> C[Login with Phone]
A -- login with --> D[Login with Cookies]
B --> |Get Purchase Time| E[Run Bot]
C --> |Get Purchase Time| E[Run Bot]
D --> |Get Purchase Time| E[Run Bot]
E -- loop until the specified time --> E
E --> F[Add Product to Cart]
F --> G[Checkout Cart]
G --> H[Create Order]
H --> I((End))
- Python 3.8.x
- Google Chrome
- PIP
Install Selenium and Undetected Chromedriver library
pip install selenium undetected-chromedriver
or
pip install -r requirements.txt
Setup Login Configuration in file login.py. Fill in the variables according to their needs
// Login with Email
email="YOUR_EMAIL_HERE"
password="YOUR_PASSWORD_HERE"
// Login with Phone
phone="YOUR_PHONE_NUMBER_HERE"
// Login with Cookies
cookie='YOUR_COOKIES_HERE' // cookies value from SPC_EC
Run Program
python bot.py