WARNING: This project is for educational purposes only. Automating Shopee interactions violates their Terms of Service and may result in account suspension or legal action. Use at your own risk.
- Login (manual captcha fallback)
- Product search & add to cart
- Initiate checkout (stops before final order)
- Fully script-based, no Selenium/webdriver
- Clone this repo.
- Copy
.env.exampleto.envand fill in your credentials and product URL. - Install dependencies:
pip install -r requirements.txt
- Run the script:
python main.py
- Uses direct HTTP requests to Shopee's backend APIs (
shopee.co.id). - Mimics browser headers and manages cookies/tokens.
- Handles anti-bot measures as much as possible (manual captcha fallback).
- Captcha and advanced anti-bot protections may block automation.
- For educational use only.
shopee_auto_http/
├── main.py
├── config.py
├── session.py
├── api/
│ ├── auth.py
│ ├── cart.py
│ ├── product.py
│ └── checkout.py
├── utils/
│ ├── logger.py
│ └── helpers.py
├── tests/
├── .env.example
├── requirements.txt
└── README.md