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.
Files changed (2) hide show
  1. package/README.md +5 -1
  2. 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: "http://proxy:port", // Optional: HTTP/HTTPS proxy
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clean-web-scraper",
3
- "version": "3.9.5",
3
+ "version": "3.10.0",
4
4
  "main": "main.js",
5
5
  "scripts": {
6
6
  "start": "node main.js",