Skip to content

Commit d0fb535

Browse files
committed
Update proxy-security documentation
1 parent 8116b15 commit d0fb535

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/md_v2/advanced/proxy-security.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ run_config = CrawlerRunConfig(proxy_config="socks5://proxy.example.com:1080")
258258

259259
## Migration from Deprecated `proxy` Parameter
260260

261-
!!! warning "Deprecation Notice"
261+
- "Deprecation Notice"
262262
The legacy `proxy` argument on `BrowserConfig` is deprecated. Configure proxies through `CrawlerRunConfig.proxy_config` so each request fully describes its network settings.
263263

264264
```python
@@ -285,20 +285,20 @@ def safe_proxy_repr(proxy: ProxyConfig):
285285

286286
### Common Issues
287287

288-
???+ question "Proxy connection failed"
288+
- "Proxy connection failed"
289289
- Verify the proxy server is reachable from your network.
290290
- Double-check authentication credentials.
291291
- Ensure the protocol matches (`http`, `https`, or `socks5`).
292292

293-
???+ question "SSL certificate errors"
293+
- "SSL certificate errors"
294294
- Some proxies break SSL inspection; switch proxies if you see repeated failures.
295295
- Consider temporarily disabling certificate fetching to isolate the issue.
296296

297-
???+ question "Environment variables not loading"
297+
- "Environment variables not loading"
298298
- Confirm `PROXIES` (or your custom env var) is set before running the script.
299299
- Check formatting: `ip:port:user:pass,ip:port:user:pass`.
300300

301-
???+ question "Proxy rotation not working"
301+
- "Proxy rotation not working"
302302
- Ensure `ProxyConfig.from_env()` actually loaded entries (`len(proxies) > 0`).
303303
- Attach `proxy_rotation_strategy` to `CrawlerRunConfig`.
304304
- Validate the proxy definitions you pass into the strategy.

0 commit comments

Comments
 (0)