Skip to content

Commit

Permalink
Baileys update
Browse files Browse the repository at this point in the history
  • Loading branch information
pedruhb committed Jun 10, 2022
1 parent d87908e commit 6cd74c0
Show file tree
Hide file tree
Showing 19 changed files with 5,924 additions and 8,357 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ tokens/
temp/
.wwebjs_auth/
*.class
baileys_auth_info.json
13,140 changes: 5,368 additions & 7,772 deletions package-lock.json

Large diffs are not rendered by default.

21 changes: 17 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,42 @@
{
"name": "whatsappbot",
"version": "1.0.0",
"version": "2.0.0",
"description": "",
"type": "module",
"scripts": {
"dev": "nodemon src/bot.js --watch 'src/**/*'",
"dev": "nodemon src/bot.js",
"start": "node src/bot.js"
},
"nodemonConfig": {
"watch": [
"src",
"bot.js"
]
},
"keywords": [],
"author": "PHB",
"license": "ISC",
"dependencies": {
"@adiwajshing/baileys": "^4.1.0",
"@adiwajshing/keyed-db": "^0.2.4",
"@bochilteam/scraper": "^2.0.0",
"@napi-rs/canvas": "^0.1.22",
"enmap": "^5.9.0",
"fluent-ffmpeg": "^2.1.2",
"forever": "^4.0.3",
"google-tts-api": "^2.0.2",
"node-fetch": "^3.2.3",
"nodemon": "^2.0.15",
"pino": "^7.11.0",
"pino-pretty": "^7.6.1",
"puppeteer": "^14.1.1",
"qrcode-terminal": "^0.12.0",
"sharp": "^0.29.3",
"spotify-url-info": "^3.1.1",
"tiktok-scraper": "^1.4.36",
"whatsapp-web.js": "^1.16.6",
"yoo-hoo": "^1.3.1",
"ytdl-core": "^4.11.0",
"ytpl": "^2.3.0",
"ytsr": "^3.8.0"
}
}
}
2 changes: 1 addition & 1 deletion src/PHBScraper.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const iPhone = puppeteer.devices['iPhone 6'];

const browser = await puppeteer.launch({
executablePath: config.puppeteer.executablePath,
headless: false,
headless: true,
userDataDir: './temp/phb-scraper/'
});

Expand Down
Loading

0 comments on commit 6cd74c0

Please sign in to comment.