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']
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']