added scraper test
This commit is contained in:
parent
32d96a7cb8
commit
caa592c213
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user