added scraper test

This commit is contained in:
Martin Donnelly 2020-06-01 09:33:03 +01:00
parent 32d96a7cb8
commit caa592c213

View File

@ -97,6 +97,7 @@ class MasterScraper {
}
async addToDB() {
console.log(`+ ${this.siteid} addToDB`);
for(const item of this.items) {
console.log(item);
@ -107,7 +108,9 @@ class MasterScraper {
.catch((err) => {
console.error(err.message || 'Some error occurred while querying the database.');
});
}
console.log(`- ${this.siteid} addToDB`);
}
async filterAdverts() {