I
I
it_pear_yurec2021-06-09 01:11:37
proxy
it_pear_yurec, 2021-06-09 01:11:37

Is it possible to change proxies automatically?

I wrote a parser, in the course of parsing, I wrote a loop that takes pictures from Yandex, but the problem is that Yandex blocks if there are a lot of calls, what can help?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
PetrovE, 2021-06-18
@PetrovE

Proxy. There are many resources with free ones you can buy.
You can use it like this:
proxy = {"http" : http_proxy}
requests.get(url, proxies=proxy)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question