首页 > 解决方案 > 受cloudflare保护的Scrape API,XHR通过但python请求403

问题描述

我正在尝试抓取受 cloudflare 保护的 Web api。我可以通过制作 xmlhttprequest 在浏览器中获取结果。但是,在执行相同请求时收到错误 403。我指定了相同的用户代理等。有人知道任何提示吗?谢谢

标签: pythonrequestxmlhttprequestcloudflarescrape

解决方案


推荐阅读