Skip to content

agg23/BrickseekLegoDeals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BrickseekLegoDeals

Searches for the specified Walmart (or Target, or any other retail store supported by Brickseek) SKU, and compares it to the Brickset database, pulling image data, MSRP, and part count. Sends an email of the best deals to the specified email address.

Usage

Update bricksetApiKey and useragent in deals.py to the pertinent values. Set the addresses of the stores you wish to analyze (found using Brickseek) in the walmartAddresses variable, along with your zip code in zipcode.

To build the deals list, run:

python3 deals.py [from email] [from email Gmail password] [to email]

If you request more than ~60 SKUs, you will run into Brickseek's DDoS protection. The script will detect this, and prompt you for cf_clearance and cfduid cookies. These can be obtained by solving the captcha via a standard web browser, then copying the cookies (for example, from the "Application" section of Chrome Web Inspector) into the prompts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages