Skip to content

Extracts chat message history from database file used by Viber

License

Notifications You must be signed in to change notification settings

staniond/Viber_message_extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Viber_message_extractor

Viber no longer provides an option to download your chat message history. It uses sqlite3 database to save all it's data so you just need to locate the database file and the script does the rest for you. If you use Viber only on a smartphone, just download the Desktop Linux/Windows version, chat history automatically synchronizes and then use this script.

The script creates a CSV file for each chat you have in the following format: date, sender_name, message_text. (photo and GIF messages are not included)

dependencies:

python3 and sqlite3 need to be installed

usage:

python3 extract_chats.py [-h] database_file [chats_directory]

positional arguments:

database_file

A path to a database file used by Viber.
On Linux located in: ~/.ViberPC/[your_phone_number]/viber.db,
On windows located in: C:\Users\[your_windows_username]\AppData\Roaming\ViberPC\[your_phone_number]\viber.db

chats_directory

Path to a directory where chat history files will be saved. If the directory does not exist, it wil be created automatically.

optional arguments:

-h, --help

show this help message and exit

About

Extracts chat message history from database file used by Viber

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages