()

    start = data.find('value=&quot;timestamp=', end)
    end = data.find('&amp;', start)
    timestamp = re.findall(r&quot;([\d]{10})&quot;, data[start:end])[0]
    print &quot;Timestamp:&quot;,timestamp


    cnx2 = httplib.HTTPConnection(&quot;www.concours-flash.fr&quot;)
    cnx2.request(&quot;GET&quot;, &quot;/bricabrac/flash/jeu.swf&quot;, headers = h)
    resp = cnx2.getresponse()
    resp.read(50)
    cnx2.close()
    time.sleep(1)

    for x in range(0,15):
      for coup in range(1, 4):

      