Skip to content

For scraping products in the Utah DABC database & alerting when available

Notifications You must be signed in to change notification settings

bthomson22/utah_dabc_scraper

Repository files navigation

Utah DABC Scarper

Author: Brandon Thomson

This is a web scraper designed to fetch data from the Utah DABC website for a specified list of products. Once run, an email will be sent to users on a mailing list with the availabilty & store location of each product.

Quick Start

  1. Create a gmail account to send the report from. Credentials for the account should be held within the passwords.txt file in the below format:
username:{email_address}
password:{password}
  1. Populate a list of products you want to scrape in the products.json file. This should follow typical JSON formatting:
{
    "Product 1 Name": "Product 1 Sku",
    "Product 2 Name": "Product 2 Sku"
}
  1. Create a mailing list to send the report to and save this in mail_list.txt. This should follow the below formatting:
email_1@email.com,email_2@email.com,email_3@email.com
  1. Run the script using python3 gimme_the_booze.py

About

For scraping products in the Utah DABC database & alerting when available

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published