node-whatsapp-drive-extractor
v0.0.6
Published
[!["Monthly Download"](https://img.shields.io/npm/dm/node-whatsapp-drive-extractor.svg)](https://npmjs.org/package/node-whatsapp-drive-extractor) [!["Latest Release"](https://img.shields.io/npm/v/node-whatsapp-drive-extractor.svg)](https://github.com/Sha
Downloads
15
Readme
node-whatsapp-drive-extractor
Download your synced WhatsApp medias from Google Drive backup
Requirement
- NodeJS v8~ ONLY (apparently there is some bug that prevents higher version of NodeJS from logging in to Google's servers)
- Retrieve your Device Id using this
- Tested on Node v8.16.2
Usage
Usage:
$ waex
Options
--email, -e Set your Google login email (compulsory)
--password, -p Set your Google password, Read troubleshooting if you have problem (compulsory)
--phone, -n Set your phone number (compulsory)
--devid, -i Set your device Id (compulsory)
# either one of the commands below is needed
--list, -l List all available files to download
--download, -d Download all available files
--output, -o Directory to download media to. Use with --download (default: current directory)
--debug Print debugging message (default: false)
Examples
$ waex -e [email protected] -p YOUR_PASSOWRD -n YOUR_PHONE -i YOUR_DEVICEID --list
# app will login & will list all files to download
$ waex -e [email protected] -p YOUR_PASSOWRD -n YOUR_PHONE -i YOUR_DEVICEID --download
# app will login & starts downloading all files to current directory
$ waex -e [email protected] -p YOUR_PASSOWRD -n YOUR_PHONE -i YOUR_DEVICEID --download --output "C:"
# app will login & starts downloading all files to given output directory
# WARNING: DO NOT end your output folder with "\" - example: "C:\" <- this wil cause a problem
Instructions
npm install -g node-whatsapp-drive-extractor
oryarn global add node-whatsapp-drive-extractor
- Follow the usage stated above
OR
npx node-whatsapp-drive-extractor [..options]
TODO
- None for now
Troubleshooting
- If you are using 2FA on Google, you have to generate an App Password
- Your phone number is your country code and phone number. When in doubt, view your Google Drive backup folders.
Credits
License
MIT License - Copyright (c) 2019 Shaun