Merge minor changes from branch 'development-scraper' to development-GUI

This commit is contained in:
buzz-lightsnack-2007 2024-05-03 11:00:06 +08:00
commit 807a221286

View file

@ -67,8 +67,6 @@ export default class product {
};
async analyze() {
console.log(`run`, this[`analysis`], this.status ? (!this.status.update) : false);
// Stop when the data is already analyzed.
if (this[`analysis`]) {return(this.analysis)}
else if (this.status ? (!this.status.update) : false) {this.analysis = await global.read([`sites`, this.URL, `analysis`]);}