Script to get the current Woot.com Product.

danfolkes danfolkes at gmail.com
Tue Oct 16 10:03:48 EDT 2007


Hey, I just decided to check out urllib.  This script gets the
Woot.com product of the day and prints it.


from urllib import urlopen
docu = urlopen("http://www.woot.com").read( )
woot =  docu[docu.find("<h3")+46:docu.find("</h3>")]
print woot

-----
Daniel Folkes
http://danfolkes.com
danfolkes at gmail.com




More information about the Python-list mailing list