clean-web-scraper 3.8.4 → 3.8.5

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/example-usage.js CHANGED
@@ -129,9 +129,9 @@ async function electronicintifada ( enable )
129
129
  csvOutputPath: "./dataset/electronicintifada/train.csv",
130
130
  includeMetadata: true,
131
131
  metadataFields: ["author", "title", "description", "dateScrapedDate"],
132
- maxDepth: 10,
132
+ maxDepth: 12,
133
133
  maxArticles: 2000,
134
- concurrencyLimit: 4,
134
+ concurrencyLimit: 3,
135
135
  axiosHeaders: headers,
136
136
  retryDelay: 10000
137
137
  });
package/main.js CHANGED
@@ -575,7 +575,7 @@ class WebScraper
575
575
  const options = {
576
576
  responseType: "stream",
577
577
  maxRedirects: 5,
578
- timeout: 70000,
578
+ timeout: 20000,
579
579
  ...this.axiosOptions,
580
580
  };
581
581
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clean-web-scraper",
3
- "version": "3.8.4",
3
+ "version": "3.8.5",
4
4
  "main": "main.js",
5
5
  "scripts": {
6
6
  "start": "node main.js",