Reputation: 306
I am trying to write a script to scrape this website and send mail or notification once date changes.
For ex. current date is 7 jan 2022, I want to write script in which once date is change i get notification or mail. URL : URL
Upvotes: 0
Views: 151
Reputation: 3094
Create a script that will run on a daily basis and check if the date is changed. It will also save the current date in a file.
Script will read the file and check with the date given on the site. If they are different then send an email.
Get the date by selenium by driver.find_element(By.ID,"resume").text
For selenium, you can deploy to Heroku(free) as a cron job.
Upvotes: 1