Programme pour scraper le site de Dell pour ressortir les informations grâce à une référence.
Go to file
2022-02-27 04:18:11 +01:00
config.js Initial commit 2022-02-27 04:18:11 +01:00
index.js Initial commit 2022-02-27 04:18:11 +01:00
package-lock.json Initial commit 2022-02-27 04:18:11 +01:00
package.json Initial commit 2022-02-27 04:18:11 +01:00
README.md Initial commit 2022-02-27 04:18:11 +01:00

Initialisation :

- npm i

Utilisation :

- node index.js <ref>

Problème =>

- Si le headless ne fonctionne pas, se rendre à la ligne 28 du fichier index.js et passer le "headless: true" en "headless: false".

Sinon contactez moi sur discord : lantium#9204

Pour Cécile =>

Pour les processeurs : 

- node index.js DXBVJM1 | grep PRC |  awk -F ',' '{ print $2 }'

Pour le chassis : 

- node index.js DXBVJM1 | grep CHAS | awk -F ',' '{ print $5 }'