npm install
-
edit
CFG
andCACHE_DIR
constants inindex.js
-
create/edit relevant
config-<store>-<env>.json
file
node rip.js
it stores the data into CACHE_DIR
directory
node stats.js
three additional files besides the catalog asset responses get saved into the CACHE_DIR
dir:
trailer.json
subtitles.json
multiple-audio.json
one can also save the stdout:
node stats > summary.txt
node serve.js
visit http://127.0.0.1:3000/suggest/d6bd31cd-e0a3-4372-9c49-d52d1f83554e (assetId of The Matrix movie)
visit https://stage.sl.pt/suggest/d6bd31cd-e0a3-4372-9c49-d52d1f83554e