A bot that scrapes Swag Codes found on sbcodez.com and redeems them on swagbucks.com. The bot currently does not automatically redeem Mobile App / SwagButton extension only Swag Codes. You can copy these codes printed from terminal and enter them in the Mobile App and/or the SwagButton extension.
Swag Code Box Non-Offer-Page Swag Code
Swag Code Box Offer-Page Swag Code
SwagButton Offer-Page Swag Code
Bot found Swag Code that is expired and did not attempt to redeem it
Clone this repository, cd into it, and install dependencies:
git clone https://github.com/huyszn/swagbucks-redeem-code-bot.git
cd swagbucks-redeem-code-bot
pip install -r requirements.txt
Copy the contents of config-example.py
into a new file config.py
.
touch config.py
cp config-example.py config.py
Replace the EMAIL
and PASSWORD
fields with your account email and password in config.py
.
EMAIL = "your email"
PASSWORD = "your password"
The bot defaults to getting and redeeming only US codes.
If you want to redeem codes from another country, then change the list values in COUNTRY_FILTER
and the value in COUNTRY
The country_filter
list and country
variable are located in the beginning of the redeem-swag-codes.py
file.
For example, this code snippet below gets only UK codes.
COUNTRY_FILTER = ['CA', 'US', 'AU']
COUNTRY = 'UK'
If you want to run the bot once:
python3 redeem-swag-codes.py
If you want to run the bot every hour:
python3 redeem-swag-codes.py --hourly
Swag Code Redeemed with --hourly Argument
The bot notifies you if it finds a Swag Code that has already been redeemed during the time it has been running.
To stop the bot, press CTRL+C / Control+C on your keyboard in the terminal window.
I recommend you run the bot with the hourly argument in the afternoon (12pm) in your local time and stop the bot at around the evening (7pm) in your local time.
Day of the Week | Number of Swag Codes |
---|---|
Sunday | One Swag Code |
Monday | Two Swag Codes |
Tuesday | One Swag Code |
Wednesday | One Swag Code |
Thursday | One SwagButton Swag Code |
Friday | Two Swag Codes |
Saturday | One Swag Code |
There is a iSPY code once a week between Monday-Friday.
This project is licensed under the MIT License - see the LICENSE file for details