More fixes
This commit is contained in:
@@ -92,9 +92,10 @@ class OlxCrawler {
|
|||||||
if (PRINT_CRAWLER_DEBUG) {
|
if (PRINT_CRAWLER_DEBUG) {
|
||||||
console.log("================================");
|
console.log("================================");
|
||||||
console.log("Category Indexer index : ", index);
|
console.log("Category Indexer index : ", index);
|
||||||
console.log("\tTotal entries : ", singlePageResult.length)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (singlePageResult) {
|
if (singlePageResult) {
|
||||||
|
console.log("\tTotal entries : ", singlePageResult.length)
|
||||||
const saveResults = await this.saveCrawledResults(singlePageResult);
|
const saveResults = await this.saveCrawledResults(singlePageResult);
|
||||||
const { newRecords, existingRecords } = saveResults;
|
const { newRecords, existingRecords } = saveResults;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user