If you want to properly connect to nordvpn servers you could create an adapter that handles ciphers for your ssl connection. Optionally, you can make a TCP request using python. You can ping each server to get the host IP address. Nordvpn only have a limited number of Socks5 servers using Port 1080, these are:. Example with python requests:įirst install requests or pysocks, then: import requests Unlike HTTP proxies, which can only interpret and work with HTTP and HTTPS websites, SOCKS5 proxies can work with any traffic. Unofficially, according to nordvpn's support the HTTP/HTTPS servers are no longer maintained and they will be all discontinued soon.Īs an alternative you can use socks5 proxies. This question is over a year old, but I thought it could be worth an answer. I expected that the requests would work indefinitely but somehow the vpn connection still stays alive. R = s.get('', proxies=prox, stream=False) Disabling stream also doesnt do anything. This ticket is also encrypted with a secret key. ![]() I have specified for the connection to close in the request header and even used request sessions, the with syntex for those sessions, and manually close the sesson even though with should take care of that. The server verifies the TGT and issues a service ticket. The python discord got me far but never ultimately solved the problem. What ive tried so far is asking r/learnpython. So its not nordvpn rate limiting but somehow requests are keeping an established connection. The weirdest part is that they immediately go through again after i restart the script(until it reaches the 6th request). I know nordvpn only allows 6 connections at a time but this is one connection after another. But for some reason even after the request finished the vpn connection somehow seams to be still connected because after the 6th request it fails. ![]() My problem is that what im doing is for each server, i will send a request with that vpn proxy. Nordvpn only allows 6 simultaneous connections at the same time. I know its possible because nordvpn has a tutorial in setting it up the same way in browsers using port 80. I'm trying to use nordvpn servers as request proxies. They usually are something like for example. ![]() Don't ask how, but I parsed the server endpoints of over 5000 nordvpn servers.
0 Comments
Leave a Reply. |