Sync/dashboard, sanitize content, update config
Add local Claude permissions file; make background.js call syncToDashboard() after each run when config.syncToDashboard is enabled; improve content extraction in content.js by cloning link nodes, removing svg/style elements and stripping review-related text/counts before trimming; update config.py defaults to enable target and gamestop (remove bestbuy), set HEADLESS=True and STEALTH_HEADLESS=True to favor headless environments.
This commit is contained in:
@@ -268,6 +268,11 @@ async function runStockCheck() {
|
||||
}
|
||||
|
||||
await saveProducts();
|
||||
|
||||
// Sync to dashboard after every run
|
||||
if (config.syncToDashboard) {
|
||||
await syncToDashboard();
|
||||
}
|
||||
}
|
||||
|
||||
// Fetch and parse products from a URL using content script
|
||||
|
||||
Reference in New Issue
Block a user