#!/usr/bin/python

import re
import urllib2

class GetIp:
	def getip(self):
		url = "http://syzj.sinaapp.com/whatIsMyIp.php"
		response = urllib2.urlopen(url)
		html = response.read()
		ip = re.search('\d+\.\d+\.\d+\.\d+',html).group(0)
		return ip

if __name__ == '__main__':
	getIp = GetIp()
	ip = getIp.getip()
	print(ip)

b582a4df1b43cbf897f58517af2970164464b3c2
<mask token>


class GetIp:
    <mask token>


<mask token>

<mask token>


class GetIp:

    def getip(self):
        url = 'http://syzj.sinaapp.com/whatIsMyIp.php'
        response = urllib2.urlopen(url)
        html = response.read()
        ip = re.search('\\d+\\.\\d+\\.\\d+\\.\\d+', html).group(0)
        return ip


<mask token>

<mask token>


class GetIp:

    def getip(self):
        url = 'http://syzj.sinaapp.com/whatIsMyIp.php'
        response = urllib2.urlopen(url)
        html = response.read()
        ip = re.search('\\d+\\.\\d+\\.\\d+\\.\\d+', html).group(0)
        return ip


if __name__ == '__main__':
    getIp = GetIp()
    ip = getIp.getip()
    print(ip)

import re
import urllib2


class GetIp:

    def getip(self):
        url = 'http://syzj.sinaapp.com/whatIsMyIp.php'
        response = urllib2.urlopen(url)
        html = response.read()
        ip = re.search('\\d+\\.\\d+\\.\\d+\\.\\d+', html).group(0)
        return ip


if __name__ == '__main__':
    getIp = GetIp()
    ip = getIp.getip()
    print(ip)

#!/usr/bin/python

import re
import urllib2

class GetIp:
	def getip(self):
		url = "http://syzj.sinaapp.com/whatIsMyIp.php"
		response = urllib2.urlopen(url)
		html = response.read()
		ip = re.search('\d+\.\d+\.\d+\.\d+',html).group(0)
		return ip

if __name__ == '__main__':
	getIp = GetIp()
	ip = getIp.getip()
	print(ip)
