/ Published in: Python
Scanner para ver facilmente todas las builds utilizadas en todos los hoteles de Habbo, el Print se podria cambiar por una variable auxiliar para grabarla en un archivo en forma de log.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import urllib ############################ ############################ #### #### #### #### #### #### #### #### #### #### #### #### #### #### #### #### #### #### #### #### ############ #### #### #### #### #### #### #### #### ############################ ############################ hoteles = ["es","com","fr","fi","ch","it","se","nl","de","no","dk","com.br"] print "Habbo Build SWF Scanner.\nBasado en la idea de Physlet\n" for i in hoteles: url = urllib.urlopen("http://www.habbo." + i + "/") a = url.read() if i == "com.br": build = a[a.find('<meta name="build" content="') + 28 : a.find(" - br")] else: build = a[a.find('<meta name="build" content="') + 28 : a.find(" - " + i)] print "www.habbo." + i + ": " + build