Browse Source

fix for length

Pablo Barrera Yaksic 7 months ago
parent
commit
d113224b47
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/scraper-reports.ts

+ 1 - 1
src/utils/scraper-reports.ts

@@ -83,7 +83,7 @@ export default class ScraperReports {
         console.debug(`${this._name} | Items obtained: ${domElements.length} `);
       }
 
-      for (let i = 1; i < 2; i++) {
+      for (let i = 1; i < domElements.length; i++) {
         const node = domElements[i];
         const link = this.getLink(node);
         items.push({