Questions tagged [proxies]

215 questions
1
vote
0 answers

Error in GetProxyPairs -> No file or directory tools/proxies.txt

So the code is correct, but it seems there is something not working.The proxies file path is correct here Proxies file path: C:\Users\duczl\OneDrive\Desktop\v2main\modules\tools\proxies.txt I run every possible diagnostic. As you can see here in…
1
vote
0 answers

I cannot get my proxies to work on Selenium

I have searched on stackoverflow as well as just googled how to use Proxies with Selenium. I found two different ways but none are working for me. Can you guys please help me figure out what I am doing wrong? from selenium.webdriver.chrome.options…
Carlos_OL
  • 73
  • 4
1
vote
0 answers

website detects that I'm using requests - python

I'm trying to register an account via python requests. > headers = { 'User-Agent': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; > en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.2.149.27 > Safari/525.13', 'Connection': 'keep-alive', 'Host':…
1
vote
1 answer

Cant use proxy on python request

I have three versions that i tested: 3.10.2, 3.9.9 and 3.8.10 on different machines and even one online compiler. In all of them i did the following: import requests requests.get(url, proxies=proxies, headers=headers) Testing in each…
Ran
  • 77
  • 1
  • 8
1
vote
2 answers

Python "Xbox username checker" program using requests module and proxies hangs without error

I am building a program that is checking Xbox usernames from a text file, and whenever I attempt to use it it will hang for about 20 seconds and stop with no error. I am hosting this program on Replit for now. My code is: import requests import…
vey
  • 101
  • 8
1
vote
1 answer

How can I go about avoiding verification for a TikTok bot with proxies?

I am making a TikTok bot for fun. It does not automate posts/follows, it only scrapes information off the site. The issue I am finding is that after about 10-15 requests to the TikTok API it requires verification, spouting the following JSON: { …
fholl124
  • 11
  • 2
1
vote
0 answers

how can we print http flow of a browser with python? [Like browser network tab]

In Python i want to build a program like browser network tab, which prints all http/s flows. The same thing needs to be done with python. [#urllib #requests #basicHTTPRequest etc..] modules are there but how can i get the network traffic of a…
1
vote
0 answers

Google Speech2Text - firewall blocking request

My client has a functionality in the App where it converts an audio file into text. For this, I am using the Google Cloud Speech to text API. The client has a VM setup where there is no internet connection available, and all the network traffic…
Phil Bake
  • 11
  • 1
1
vote
1 answer

Can`t connect to a proxy using requests Python

I am trying to connect to a http server using python but after I send a get request to: https://httpbin.org/ip I get my normal ip public like if I wasnt using a proxy. We are going to suppose that my public ip without using proxy is:…
1
vote
0 answers

Connent to website with proxy not working (python)

Im trying to connect to a website with a proxy, but it keeps connecting with my ip. import requests proxies = { "https": "103.224.5.5:54143" } url = 'http://httpbin.org/ip' r = requests.get(url, proxies=proxies) ciao=r.json() print(ciao)
ssfssss
  • 11
  • 1
1
vote
2 answers

Uncertain about 'is' behavior with nHibernate Proxies

I have a situation where I need to determine whether or not an inherited class is a specific inherited class, but the type expected in the model is the base class, and it is stored using nHibernate/Fluent nHibernate using a Table Per Concrete Class…
Ciel
  • 17,312
  • 21
  • 104
  • 199
1
vote
0 answers

Efficient way of checking proxies in python?

I was wondering if anyone knew how to check proxies in an efficient manner without taking too long. I've already found an old StackOverflow question from 11 years ago that doesn't exactly give what I'm looking for. The methods that I've currently…
AverageLua
  • 13
  • 2
1
vote
1 answer

Can a single machine make requests from multiple different IP Addresses?

I am a complete rookie when it comes to networking and my question is theoretical. Let's say I have 3 public IP Addresses, and want to request a webpage X every few minutes. If webpage X places a cap of 10 requests per day on the requesting IP, is…
Cody Troyer
  • 23
  • 1
  • 4
1
vote
3 answers

Python requests session does not rotate proxies

I am using private rotating proxy provided by (https://proxy.webshare.io/proxy/rotating?) in which each request to rotating proxy receives a new IP address. when I am using requests.get('https://httpbin.org/get', headers=headers,…
1
vote
0 answers

curl_multi_init with different proxy for each handle?

i want to write a script using curl_multi_init() but i must have to specify the curl_setopt() with my proxy only once and not for each handle, there is a way to solve this with different proxy for each handle? i got the solution, specify the proxy…
Ben
  • 249
  • 5
  • 19