this project https://github.com/dgtlmoon/changedetection.io which is opensource has some python code which will do it for you, you can use their code, check out the tutorial here if it helps https://changedetection.io/tutorial/checking-web-pages-changes-according-schedule