Who has Python experience?

That would be me Ben! I would love to have even more fun fiddling with python in blender… have a quick look at the topic of my post just today on this very site: python re-fit
Doing a pilot of a new course be a great learning experiance! I would love it!
I have done loads of stuff like this here scraper a made to monitor a online discount store while at work :wink:

@author: Mike
'''
import urllib2
import urllib
import cookielib
import time
import hashlib

oldhash = ""
newhash = ""

cj = cookielib.MozillaCookieJar()
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
#opener.addheaders = [('User-agent', 'Mozilla/5.0')]

link = 'http://www.ibood.com/nl/nl/'
data = opener.open(link)
while (1==1):
	
	
	print data.read()
	newhash = str.upper(hashlib.md5(data.read()).hexdigest())
	
	if (newhash != oldhash ):
		oldhash = newhash
		print "\a" #system beep
	
	time.sleep(30)
opener.close()

And I know about PIP setup.py install stuff… Let me know when I can be of assistance!

:slight_smile:

1 Like