Restock notifier via Discord webhook and BeautifulSoup.
Requests
beautifulsoup4
Clone repository.
Enable or disable whichever notifications you'd like (Lines 24-28).
Input Discord userID of user you'd like mentioned on notification in "userID".
Input Discord webhookURL in "webhookURl"
Input sender_email -- If email is sent from something other than gmail you must change the smtp_server also.
Input receiver_email.
Input receiver_text -- 9 digit phone number followed by cell service carriers email.
spamLimit default set to 5. If item is in stock for prolonged periods you could potentially receive and email/text every 15 seconds. I don't recommend removing this limit.
Run program and enter email sender password. If you're just doing Discord notification simply press "enter".
Currently scans Bestbuy.com, PlayStation Direct and Gamestop. (Example code tracks PS5s from all 3 websites). Will alert via Discord notification, email, text message, or console output.
More website support (Amazon & Walmart)