
import urllib2
from datetime import datetime
import time

myInstructable = 'https://www.instructables.com/id/Hijack-RGB-Flood-Light-With-Arduino-or-ESP8266/'



count = -1
while(count!=1):
        response = urllib2.urlopen(myInstructable)
        html = response.read()
        html = html.partition("<span class=\"count view-count\">")[2]
        html = html.partition("</span>") [0]
        html = html.replace(",", "")
        htmlint = int(html)
        print datetime.now().time()
        print htmlint
        if htmlint % 10 == 0:
                print "Another TEN people have read your 'ible"
        time.sleep(60)
