clean-web-scraper 3.9.5 → 3.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -61,7 +61,11 @@ const scraper = new WebScraper({
|
|
61
61
|
|
62
62
|
// Network options
|
63
63
|
axiosHeaders: {}, // Optional: Custom HTTP headers
|
64
|
-
axiosProxy:
|
64
|
+
axiosProxy: { // Optional: HTTP/HTTPS proxy
|
65
|
+
host: "localhost",
|
66
|
+
port: 2080,
|
67
|
+
protocol: "http"
|
68
|
+
},
|
65
69
|
axiosMaxRetries: 5, // Optional: Max retry attempts
|
66
70
|
axiosRetryDelay: 40000, // Optional: Delay between retries (ms)
|
67
71
|
useProxyAsFallback: false, // Optional: Fallback to proxy on failure
|