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.
- React.js
- Express.js
- Selenium
- SMTPlib
- python-dotenv
- webdriver_manager/Chromedriver
- AWS EC2
- AWS Amplify
➡️ 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
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.