import requests
url = 'https://ipinfo.io'
username = ''
password = ''
proxy = f'socks5h://{username}:{password}@gate.smartproxy.com:7000'
response = requests.get(url, proxies={'http': proxy, 'https': proxy})
print(response.text)

a15c714afa5ecd3bb7424db44f82a620602c6963
<mask token>

<mask token>
print(response.text)

<mask token>
url = 'https://ipinfo.io'
username = ''
password = ''
proxy = f'socks5h://{username}:{password}@gate.smartproxy.com:7000'
response = requests.get(url, proxies={'http': proxy, 'https': proxy})
print(response.text)

import requests
url = 'https://ipinfo.io'
username = ''
password = ''
proxy = f'socks5h://{username}:{password}@gate.smartproxy.com:7000'
response = requests.get(url, proxies={'http': proxy, 'https': proxy})
print(response.text)
