Sends an email to and from given email IDs whenever a certain product which was previously not in stock has been restocked.
. Make the necessary changes in the file GUI.py (change line 158 and line 92)
. Launch the GUI.py to make changes in the input.
. Click on "Edit the values" to change any data. Then you can either Save+Exit or Save+Run.
. Make the necessary changes in the URL.
. Enable 2-factor-authentication on Google. Here: https://www.google.com/landing/2step/
. Enable Google Apps passwords for mail, and update it in the code. Here: https://myaccount.google.com/apppasswords
. Make the required changes in pars.txt
. Update your email from which the mail has to be sent.
. Update your email to which you want the mail to be sent.
. Update your "User-Agent".
. Make whatever changes you want to the message.
. Change the frequency at which you want to run the script.
. You are all done! You can run this script now!
. For Windows, make a batch file Learn how to make a batch file from here https://datatofish.com/batch-python-script/ Now, open Run, and execute this 'shell:common startup' and paste your batch file in there.
. For Linux, refer to this https://stackoverflow.com/questions/24518522/run-python-script-at-startup-in-ubuntu