Gallery and other stuff

This commit is contained in:
Edin Dazdarevic
2017-04-02 03:31:39 +02:00
parent d6c2e857d0
commit e02cce155b
10 changed files with 4611 additions and 815 deletions

View File

@@ -96,7 +96,7 @@ export default class OlxCrawler {
let actualNoOfResults = (hrefs.length <= maxResults) ? hrefs.length : maxResults;
for (let i = 0; i < actualNoOfResults; i++) {
for (let i = 0; i < hrefs.length; i++) {
console.log(`indexing: ${hrefs[i]}`);
const singleData = await this.indexSingle(hrefs[i]);