From 0daefa86b400efe08245f4f2a386f7341b76b24e Mon Sep 17 00:00:00 2001 From: Philipp Tanlak Date: Thu, 19 Oct 2023 17:54:18 +0200 Subject: docs: Add documentation --- docs/configuration/proxies.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/configuration/proxies.md (limited to 'docs/configuration/proxies.md') diff --git a/docs/configuration/proxies.md b/docs/configuration/proxies.md new file mode 100644 index 0000000..19434dc --- /dev/null +++ b/docs/configuration/proxies.md @@ -0,0 +1,13 @@ +# Proxies + +The `proxies` config option allows you to specify a list of HTTP(S) proxies that should used during scraping. When multiple proxies are provided, the scraper will prick a proxy at random for each request. + +Example: + +```javascript +export const config = { + url: "http://example.com/", + proxies: ["https://my-proxy.com:3128", "https://my-other-proxy.com:8080"], + // ... +}; +``` -- cgit v1.2.3