(num)
return IPPOOL
#自己获取的ip
    IPPOOLS1=urllib.request.urlopen("http://127.0.0.1:8000/?types=0&count=20&country=%E5%9B%BD%E5%86%85").read().decode("utf-8",'ignore')
    IPPOOLS2=re.findall('\"(\d+\.\d+\.\d+\.\d+\"\,\s*\d+)',IPPOOLS1)
    IPPOOL=[i.replace('", ',':') for i in IPPOOLS2]
#自己获取的ip
    IPPOOLS1=urllib.request.urlopen("http://127.0.0.1:8000/?types=0&count=20&country=%E5%9B%BD%E5%86%85").read().decode("utf-8",'ignore')
    IPPOOLS2=re.findall('\"(\d+\.\d+\.\d+\.\d+\"\,\s*\d+)',IPPOOLS1)
    IPPOOL=[i.replace('", ',':') for i in IPPOOLS2]
#自己获取的ip IPPOOLS1 = urllib . request . urlopen ( http : // 127 . 0 . 0 . 1 : 8000 / ?types = 0&count = 20&country = %E5%9B%BD%E5%86%85 ) . read () . decode ( utf - 8 ignore ) IPPOOLS2 = re . findall ( \ ( \ d + \ . \ d + \ . \ d + \ . \ d + \ \ \ s * \ d + ) IPPOOLS1 ) IPPOOL = [ i . replace ( : ) for i in IPPOOLS2 ]
def GetIPPOOLS(num):
    #大象代理买的ip,5元20000个，每十个差不多有一个能用
    IPPOOL=urllib.request.urlopen("http://tpv.daxiangdaili.com/ip/?tid=559480480576119&num="+str(num)+"&operator=1&filter=on&protocol=http&category=2&delay=1").read().decode("utf-8","ignore").split('\r\n')
    '''
    #自己获取的ip
    IPPOOLS1=urllib.request.urlopen("http://127.0.0.1:8000/?types=0&count=20&country=%E5%9B%BD%E5%86%85").read().decode("utf-8",'ignore')
    IPPOOLS2=re.findall('\"(\d+\.\d+\.\d+\.\d+\"\,\s*\d+)',IPPOOLS1)
    IPPOOL=[i.replace('", ',':') for i in IPPOOLS2]
    '''
    return IPPOOL
def GetIPPOOLS ( num ) : #大象代理买的ip,5元20000个，每十个差不多有一个能用 IPPOOL = urllib . request . urlopen ( "http://tpv.daxiangdaili.com/ip/?tid=559480480576119&num=" + str ( num ) + "&operator=1&filter=on&protocol=http&category=2&delay=1" ) . read ( ) . decode ( "utf-8" , "ignore" ) . split ( '\r\n' ) return IPPOOL