summaryrefslogtreecommitdiff
path: root/docs/configuration/proxies.md
diff options
context:
space:
mode:
authorPhilipp Tanlak <philipp.tanlak@gmail.com>2023-10-19 17:54:18 +0200
committerPhilipp Tanlak <philipp.tanlak@gmail.com>2023-10-19 18:21:58 +0200
commit0daefa86b400efe08245f4f2a386f7341b76b24e (patch)
tree60d743bb9734a9d7f46701a5ac9026650a330d49 /docs/configuration/proxies.md
parent03b3be0c3bbc70584e8988e1810dc28eacf4521f (diff)
docs: Add documentationv0.3.0
Diffstat (limited to 'docs/configuration/proxies.md')
-rw-r--r--docs/configuration/proxies.md13
1 files changed, 13 insertions, 0 deletions
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"],
+ // ...
+};
+```