Skip to content

Full-stack web app built to alert users of CS2 skin prices.

Notifications You must be signed in to change notification settings

ThomasQi3141/BUFF-Price-Web-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

BUFF Price Web Scraper


Have you ever wanted to keep track of skin prices on BUFF marketplace without manually checking? Built using React, Express, Selenium, and SMTPlib, this app automatically web-scrapes BUFF marketplace, alerting you on the prices of your favourite skins through email.

demo

Tools/Technologies Used:

How does this app work?

➡️ After entering items and clicking on get prices, the front-end sends an api request to the back-end hosted on AWS EC2
➡️ After receiving the API request, the back-end runs the Python script as a child process
➡️ The script opens an instance of the BUFF marketplace website using Selenium and Chromedriver
➡️ By reusing cookies, the script effectively bypasses the 2FA authentication required for the BUFF Marketplace website
➡️ The price of the lowest listing of each item is then web-scraped
➡️ The back-end relays the information back to the front-end, which is then displayed.
➡️ When the “Email Me” button is clicked, the front-end sends an api request to the back-end, running “send_email.py” as a child process
➡️ The automation email address is read from the .env file. Using SMTPlib, “send_email.py” automatically sends an email to your personal email address

Troubleshooting:

SMTP Errors: These errors are mainly caused by your email service provider (for the email address that sends the automated emails). This thread may be helpful.
Note: The web scraper script can be found in the script folder.

About

Full-stack web app built to alert users of CS2 skin prices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published