Python Script to check if the website is up using Requests, BeautifulSoup4 & send email if its down

Опубликовано: 27 Июнь 2026
на канале: Prashant Lakhera
3,793
73

Python Script to check if the website is up using requests, then scraping text using BeautifulSoup, and then send an email if it's down.

Module used

1: Requests
2: BeautifulSoup4
3: Smtplib


GitHub Link: https://github.com/100daysofdevops/10...

How to setup less secure app

https://support.google.com/accounts/a...

To create an app password:

https://support.google.com/accounts/a...


Check the updated DevOps Course

Course Registration link: https://www.101daysofdevops.com/regis...
Course Link: https://www.101daysofdevops.com/cours...




I am looking forward to you guys joining the amazing journey.


Twitter: @100daysofdevops OR @lakhera2015
Facebook:   / 795382630808645  
Medium:   / devopslearning  
GitHub: https://github.com/100daysofdevops/10...
Slack: https://join.slack.com/t/100daysofdev...