Proxy(host='47.251.13.204', port='3128', code='us', country='united states', anonymous=False, type='http', source='us-proxy')
s = "Proxy(host='47.251.13.204', port='3128', code='us', country='united states', anonymous=False, type='http', source='us-proxy')"
host = re.search(r"host='(.+?)'", s).group(1)
port = re.search(r"port='(.+?)'", s).group(1)
print(host, port)