Welcome! This tool helps you automate purchases on Topps.com using a simple graphical interface. Follow this "A to Z" guide to get everything set up, even if you've never used Python before!
The bot runs on Python. If you don't have it:
- Download: Go to python.org and download the latest version for Windows.
- Install: Run the installer.
[!IMPORTANT] Make sure to check the box that says "Add Python to PATH" before clicking Install. This is the most important step!
- If you're a beginner, simply click the green Code button on GitHub and select Download ZIP.
- Extract the ZIP folder to your computer (e.g., your Desktop).
You need to install two libraries (selenium and undetected-chromedriver) for the bot to work.
- Open the folder where you extracted the code.
- Click on the address bar at the top of the folder window, type
cmd, and press Enter. A black window (terminal) will open. - Type the following command and press Enter:
pip install -r requirements.txt
- Wait for it to finish. Once done, you're ready!
Before running the bot, you need to tell it where to ship and how to pay.
- Open the config.json file using Notepad or any text editor.
- Fill in your Contact Info (name, address, etc.) and Payment Info (Card number, etc.).
- Save the file and close it.
- In the same black terminal window you opened earlier, type:
python main.py
- The Configuration window will pop up!
Once the window opens:
- Search Mode: Type the name of the product (e.g., "Bowman 2024"). The bot will search, filter for "In Stock Only", and try to buy the first available item.
- Direct Link Mode: Paste the exact URL of the product page.
- Manual Login: When the browser opens, if you are not logged in, the bot will pause. Log in to your Topps account manually, then click "OK" on the prompt to let the bot continue.
- Captchas: If you see a "Verify you are human" check, solve it manually, and the bot will proceed.
- Stealth Mode: Uses
undetected-chromedriverto avoid being blocked. - Persistent Profile: Saves your login so you don't have to log in every time.
- Human-like Typing: Mimics real typing to avoid detection.
- Auto-Retry: Keeps checking if an item is sold out until it becomes available.
- Stay logged in: Use the "Manual Login" step to ensure you are logged into your account before the bot starts clicking.
- Config file: Keep your
config.jsonsafe! It contains your payment information. - One at a time: Don't run multiple instances of the bot with the same profile at the same time.
- "Python is not recognized": You probably forgot to check "Add Python to PATH" during installation. Reinstall Python and make sure that box is checked!
- Chrome Version: If the bot gives an error about Chrome version, simply update your Chrome browser to the latest version.
- Payment Fails: Ensure your card details in
config.jsonare exactly as they appear on your card.
This tool is for educational purposes only. Use it responsibly and according to Topps.com's Terms of Service. The developers are not responsible for any account bans or issues.