0

Update index.ts

This commit is contained in:
Rafael Miller 2024-04-18 13:53:11 -03:00 committed by GitHub
parent 57e5b36014
commit 704a059448
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,7 +66,7 @@ export class WebScraperDataProvider {
throw new Error("Url is required"); throw new Error("Url is required");
} }
if (true) { // !useCaching) { if (!useCaching) {
if (this.mode === "crawl") { if (this.mode === "crawl") {
const crawler = new WebCrawler({ const crawler = new WebCrawler({
initialUrl: this.urls[0], initialUrl: this.urls[0],