vish
vish

Reputation: 306

Creating scrapper to send notification from website upon change date

I am trying to write a script to scrape this website and send mail or notification once date changes. enter image description here

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

Answers (1)

Manzurul Hoque Rumi
Manzurul Hoque Rumi

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 enter image description here

For selenium, you can deploy to Heroku(free) as a cron job.

Upvotes: 1

Related Questions