Compare commits
2 Commits
f34af7e673
...
master
Author | SHA1 | Date | |
---|---|---|---|
9d0a0b732f | |||
fbf7c1c7d2 |
@@ -285,6 +285,12 @@ async function crawlProductStock(url: string): Promise<[string, string, boolean]
|
||||
case "dectdirect.nl":
|
||||
return [domain, page.url(), await Dectdirect.check(html)];
|
||||
|
||||
case "expert.nl":
|
||||
return [domain, page.url(), await LDJsonParser.check(html)];
|
||||
|
||||
case "maxiaxi.com":
|
||||
return [domain, page.url(), await LDJsonParser.check(html)];
|
||||
|
||||
default:
|
||||
console.error(`-- ${domain} is not an supported website! Cannot check stock!`);
|
||||
return [domain, page.url(), false];
|
||||
|
7
update.linux.sh
Executable file
7
update.linux.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
echo "Updating crawler source..."
|
||||
git pull
|
||||
echo "Updating crawler source... DONE"
|
||||
echo ""
|
||||
echo "Updating crawler packages..."
|
||||
npm install
|
||||
echo "Updating crawler packages... DONE"
|
7
update.win.bat
Normal file
7
update.win.bat
Normal file
@@ -0,0 +1,7 @@
|
||||
echo "Updating crawler source..."
|
||||
git pull
|
||||
echo "Updating crawler source... DONE"
|
||||
echo ""
|
||||
echo "Updating crawler packages..."
|
||||
npm install
|
||||
echo "Updating crawler packages... DONE"
|
Reference in New Issue
Block a user