Gallery and other stuff
This commit is contained in:
@@ -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]);
|
||||
|
||||
@@ -18,6 +18,10 @@ module.exports = {
|
||||
}, {
|
||||
test: /.json?$/,
|
||||
loader: 'json-loader',
|
||||
},
|
||||
{
|
||||
test: /\.css$/,
|
||||
use: ['style-loader', 'css-loader']
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user