Answer the question
In order to leave comments, you need to log in
How to send a direct request using requests Python?
The problem is this. I send a get request to a website with headers. But the site does not return a normal page, although there is no error. The server returns some garbage. The question is. How to bypass site blocking?
Answer the question
In order to leave comments, you need to log in
Add other headers as an option. But if the creator of the site would like to protect himself from such requests, then this is done in half a line in one of a bunch of ways, and then no headings will help. As an option - try selenium, but not the fact that it will work, it is also detected very quickly
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question