Answer the question
In order to leave comments, you need to log in
Why doesn't socks5 proxy hide my real IP?
I bought an IPv4 proxy, and my IP still fires:
import requests
r = requests.get("https://ramziv.com/ip", proxies=dict(
http='socks5://адрес:порт@логин:пароль'
)).text
print(r)
Answer the question
In order to leave comments, you need to log in
I managed to solve it with this code:
import socket
import socks
import requests
socks.set_default_proxy(socks.SOCKS5, addr='адрес', port=1234,
username='котак', password='котакбас')
socket.socket = socks.socksocket
r = requests.get("https://ramziv.com/ip").text
print(r)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question