@[Chat_lsm2024](/user/965558) 洛谷不要 VJudge 的方案,其他的方案模拟浏览器访问特别慢,除非**高贵的**洛谷开发组直接轰烂**全球占比 $50\%$** 的网络安全运营商的**付费防护**
by CodingOIer @ 2024-08-19 11:47:17
@[CodingOIer](/user/754324) 那开发周期就长了(不会洛谷觉得模拟浏览器费性能吧)
by U•ェ•*U @ 2024-08-19 11:50:31
```python
import cloudscraper
scraper = cloudscraper.create_scraper(delay=5, browser={
'browser': 'chrome',
'platform': 'linux',
'mobile': False,
})
resp = scraper.get('https://webcache.googleusercontent.com/search?q=cache:https://www.truepeoplesearch.com/find/i',
proxies={'http': 'http://127.0.0.1:2333', 'https': 'http://127.0.0.1:2333'})
print(resp.text)
print(resp.status_code)
```
by U•ェ•*U @ 2024-08-19 11:51:44
@[Chat_lsm2024](/user/965558) 用过,无法撞开 `https://codeforces.com/enter` 的短暂 `checking`
by CodingOIer @ 2024-08-19 11:53:58