Russian  English  All projects

Fix a Python script that can send requests to the site



Current problem: There is already code that worked just a week ago. I can provide this code. The existing code causes a 403 Forbidden error when executed. It is assumed that this is due to the lack of necessary headers or improper handling of Cloudflare protection.

An important point is that the script is run from the docker container. The same request sent from the same server, but not from the docker container, receives a 200 response.

Ill provide the docker container image and all the code.


Expected result: A working script that can successfully execute requests from the docker container to the BetOnline.ag API and get up-to-date data in JSON format.
14.10.2024 11:38



 Answers freelancers