Jump to content
TorGuard
  • 0

Using python request with 5SOCKS proxy

Rate this question


Jensens

Question

Jensens

I'm trying to use torguard’s 5SOCKS proxy with python requests. I have tried this but I doesn’t work:

 

proxies1 = {'http': 'socks5://username:[email protected]:1080',

'https': 'socks5://username:[email protected]:1080'}

 

proxies2 = {'http': 'http://username:[email protected]:6060',

'https': 'https://username:[email protected]:6060'}

 

resp = requests.get('https://httpbin.org/ip', proxies=proxies1)

 

I know that you can connect qBitTorrent to torguard’s 5SOCKS proxy with:

host: proxy.torguard.org, port: 1080 and my real username and password.

Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...