Python Script to check website for a tag

Posted by LinuxGnut on Stack Overflow See other posts from Stack Overflow or by LinuxGnut
Published on 2010-04-09T19:42:20Z Indexed on 2010/04/09 20:13 UTC
Read the original article Hit count: 310

Filed under:
|
|
|
|

Hello all.

I'm trying to figure out how to go about writing a website monitoring script (cron job in the end) to open up a given URL, check to see if a tag exists, and if the tag does not exist, or doesn't contain the expected data, then to write some to a log file, or to send an e-mail.

The tag would be something like or something relatively similar.

Anyone have any ideas?

© Stack Overflow or respective owner

Related posts about python

Related posts about html