Ejemplo n.º 1
0
def getConfig(serv):
	url = 'http://vpn.hidemyass.com/vpnconfig/client_config.php?win=1&loc=%s'
	return urlGet(url % serv)
Ejemplo n.º 2
0
def getServerList():
	url = 'http://vpn.hidemyass.com/vpnconfig/countries.php'
	countryListRaw = urlGet(url)
	countryList = [c.strip(' ').replace(' ', '+') for c in countryListRaw.split('\n')]
	return countryList