mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-06-24 09:25:53 +02:00
Don't use store-id for Billa, will omit products otherwise.
This commit is contained in:
parent
d872ec0c52
commit
856f08c71f
18
.vscode/launch.json
vendored
18
.vscode/launch.json
vendored
|
@ -4,6 +4,24 @@
|
||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "restore",
|
||||||
|
"program": "${workspaceFolder}/restore",
|
||||||
|
"request": "launch",
|
||||||
|
"skipFiles": [
|
||||||
|
"<node_internals>/**"
|
||||||
|
],
|
||||||
|
"type": "node"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "stuff",
|
||||||
|
"program": "${workspaceFolder}/stuff.js",
|
||||||
|
"request": "launch",
|
||||||
|
"skipFiles": [
|
||||||
|
"<node_internals>/**"
|
||||||
|
],
|
||||||
|
"type": "node"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "analysis",
|
"name": "analysis",
|
||||||
"program": "${workspaceFolder}/analysis.js",
|
"program": "${workspaceFolder}/analysis.js",
|
||||||
|
|
|
@ -183,7 +183,7 @@ exports.replay = function(rawDataDir) {
|
||||||
|
|
||||||
const HITS = Math.floor(30000 + Math.random() * 2000);
|
const HITS = Math.floor(30000 + Math.random() * 2000);
|
||||||
const SPAR_SEARCH = `https://search-spar.spar-ics.com/fact-finder/rest/v4/search/products_lmos_at?query=*&q=*&page=1&hitsPerPage=${HITS}`;
|
const SPAR_SEARCH = `https://search-spar.spar-ics.com/fact-finder/rest/v4/search/products_lmos_at?query=*&q=*&page=1&hitsPerPage=${HITS}`;
|
||||||
const BILLA_SEARCH = `https://shop.billa.at/api/search/full?searchTerm=*&storeId=00-10&pageSize=${HITS}`;
|
const BILLA_SEARCH = `https://shop.billa.at/api/search/full?searchTerm=*&pageSize=${HITS}`;
|
||||||
|
|
||||||
exports.updateData = async function (dataDir, done) {
|
exports.updateData = async function (dataDir, done) {
|
||||||
const today = currentDate();
|
const today = currentDate();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user