소스 검색

Fixed iteration start for domItems

Pablo Barrera Yaksic 3 달 전
부모
커밋
101d340d8a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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} `);
         console.debug(`${this._name} | Items obtained: ${domElements.length} `);
       }
       }
 
 
-      for (let i = 1; i < domElements.length; i++) {
+      for (let i = 0; i < domElements.length; i++) {
         const node = domElements[i];
         const node = domElements[i];
         const link = this.getLink(node);
         const link = this.getLink(node);
         items.push({
         items.push({