[LUNI] Pseudo RSS
Frank Mileto
frankmileto at gmail.com
Tue Jul 24 15:07:41 CDT 2007
Quick and dirty python works OK but you may want to have the script email
you or run it on a open terminal
####################
from urllib2 import urlopen
from sys import argv
import md5
from time import sleep
def lookup(url,timer):
while(1):
page = urlopen(url)
hash = md5.md5(page.read())
sleep(float(timer))
page = urlopen(url)
hash2 = md5.md5(page.read())
if hash == hash2:
continue
else:
print "page has been updated"
lookup(argv[1],argv[2])
##############################
On 7/24/07, Jay Strauss <me at heyjay.com> wrote:
>
> Hi,
>
> Does anyone know of a product/tool/script that could tell me when a
> web page has changed? Sort of like RSS, but this site doesn't have
> RSS.
>
> I need to watch this page on a bulletin board where fairly
> infrequently someone posts a message that I need to know has been
> posted. I hate having to remind myself to check all the time, and the
> site has no provision to email.
>
> It'd be nice if I could have some utility do it for me.
>
> Thanks
> Jay
> --
> Linux Users Of Northern Illinois - Technical Discussion
> http://luni.org/mailman/listinfo/luni
>
--
Frank Mileto
b4f99998e3644679b5e815a35fcf2beb
More information about the luni
mailing list