For async scraping, `httpx` is my go-to. It’s like `requests` but async. Here’s how you can use proxies with it:
```python
import httpx
proxies = "http://your-proxy-ip:port"
async with httpx.AsyncClient(proxies=proxies) as client:
response = await client.get("http://example.com")
```
Works like a charm for python 环境使用代理. Also, check out [ProxyScrape](https://proxyscrape.com/) for free proxy lists.
```python
import httpx
proxies = "http://your-proxy-ip:port"
async with httpx.AsyncClient(proxies=proxies) as client:
response = await client.get("http://example.com")
```
Works like a charm for python 环境使用代理. Also, check out [ProxyScrape](https://proxyscrape.com/) for free proxy lists.
