Update multi.js

change variable for more universal application
This commit is contained in:
Penelope Gomez / Pogmommy 2023-02-07 20:25:09 -07:00
parent f35b6de5ab
commit 79f46b803a

View file

@ -1,5 +1,5 @@
const args = process.argv; const args = process.argv;
const defArgs = ["node","path","name","tweetCount","0","write","fromLoop"] const defArgs = ["node","path","name","tweetCount","0","write","printHeader"]
for (var i = 0; i < 2; i++) {args.shift();} for (var i = 0; i < 2; i++) {args.shift();}
const config = require('fs').readFileSync("./usernameslist.txt").toString().split(/[\r\n]+/); const config = require('fs').readFileSync("./usernameslist.txt").toString().split(/[\r\n]+/);
for (let name of config) { for (let name of config) {