代理

 

 

 

 

def get_proxy_ip(count=1):
    res = requests.get('http://58.87.118.83:4562/get_proxy_ip/%s' % str(count))
    obj = BeautifulSoup(res.content, 'html.parser')
    return [proxy_ip.text for proxy_ip in obj.find_all('td') if proxy_ip.text != 'ip']

 

posted @ 2018-12-13 09:31  虫洞小鳗鱼  阅读(109)  评论(0编辑  收藏  举报