I tried to post in the original "No School Announcemnt" thread without success.
Attached is a quick script to scrape a school web page to search for a specific word, in my case "Cancellation:". It has been done and highly documented in such a manner that the user defined section is all encased making it easy to retrofit for another task.
The output will be in the form of
School Cancellations: None (SiteLink)
where:
School Cancellations: is a user definded prefix message
None is the body of the web scrape, if none found then it indicates None
(SiteLink) is the link to the site that you are pulling the info from.
Enjoy
Attached is a quick script to scrape a school web page to search for a specific word, in my case "Cancellation:". It has been done and highly documented in such a manner that the user defined section is all encased making it easy to retrofit for another task.
The output will be in the form of
School Cancellations: None (SiteLink)
where:
School Cancellations: is a user definded prefix message
None is the body of the web scrape, if none found then it indicates None
(SiteLink) is the link to the site that you are pulling the info from.
Enjoy