Skip to content

Prem-ium/Wired-Coupon-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›’ Wired Coupon Automation Tool πŸ’Έ

Selenium script to retrieve latest Wired Coupons & Promo Codes for various websites such as Walmart, DoorDash, EBay, & more.

Github Sponsor

Important Notice: Gold Sponsors are entitled to special privileges, including exclusive features like Discord Bot support for this project. If you belong to the Gold tier sponsorship, please access the private repository for the Python script containing Discord support.

Environment Variables

Variable Required Default Description
RETAILERS No ["walmart"] A list of supported retailer coupon pages from Wired.com/coupons
APPRISE_ALERTS No None A comma-separated list of Apprise notification services.
ALLOW_DUPLICATES No False If set to True, the script will allow sending duplicate coupons to apprise alerts.
KEEP_ALIVE No False If set to True, the script will run Flask server to allow Keep Alive.

Installation

  1. Clone the repository:
    git clone https://github.com/Prem-ium/Wired-Coupon-Scraper.git
    cd Wired-Coupon-Scraper
  1. Install the required packages:
    pip install -r requirements.txt
  1. Set up the environment variables.
  2. Run the script:
  • No Arguments:
    python main.py
  • Pass RETAILERS as an argument. Seperate with a comma (,)
    python main.py amazon,doordash

Example Output

Output for running python main.py amazon:

---------------------------------------------------------------------------
Welcome to Wired Coupon Scraper.

RETAILERS argument received.
Gathering coupon codes for: ['amazon']
--------------------------------------------------
codes.txt file already exists
----------------------------------------------------------------------
Retrieving AMAZON Promo Code Offers...

108 AMAZON Promo Codes/Coupons were found!
--------------------------------------------------
Take 40% Off select products from Kwfrhix - Amazon Promo Code:
        40MMS6OP
https://www.wired.com/coupons/get/94554598?popup=true

Appended Take 40% Off select products from Kwfrhix - Amazon Promo Code: - https://www.wired.com/coupons/get/94554598?popup=true
--------------------------------------------------
--------------------------------------------------
Enjoy 40% Off select JingLeXin products - Amazon Promo Code:
        40YPKL1X
https://www.wired.com/coupons/get/94554602?popup=true

Appended Enjoy 40% Off select JingLeXin products - Amazon Promo Code: - 40YPKL1X - https://www.wired.com/coupons/get/94554602?popup=true
--------------------------------------------------
*---Rest of Promo Codes---*

Donations

If you appreciate my work and would like to show your support, there are two convenient ways to make a donation:

  1. GitHub Sponsors

    • Donate via GitHub Sponsors
    • This is the preferred donation method as it incurs no transaction fees & different tiers offer perks. GitHub Sponsor
  2. Buy Me A Coffee

Your generous donations will go a long way in helping me cover the expenses associated with developing new features and promoting the project to a wider audience. I extend my heartfelt gratitude to all those who have already contributed. Thank you for your support!

License

This project uses the MIT License.