description | Skype Exporter is a script to export Skype user data from the software's SQLite files. |
website | https://fietkau.software/skype_exporter |
last change | Sun, 18 Nov 2018 21:07:15 +0000 (22:07 +0100) |
2018-11-18 | Julian Fietkau | Initial commit main | commit | commitdiff | tree | snapshot |
Microsoft Skype, as of 2018, saves user data like past chat messages and call metadata in a local SQLite database, which was fortunate for me when I wanted to export some of that data for long-term storage. This Python script reads a Skype database file and exports all conversations into JSON or HTML.
Since the database schema was haphazardly reverse engineered for this purpose, it is likely to be incomplete. You may need to add more message types and things like emoji IDs for fuller export quality. The HTML renderer includes a couple of Twemoji SVGs for the emoji that showed up in my data.
This is a relatively quick-and-dirty script that was not extensively tested. Use at your own risk.
usage: skype_exporter.py [-h] [-o OUTPUT] [-l LANGUAGE] [-f FORMAT] file
positional arguments:
file The file name of the Skype database to export
options:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
The output directory for the exported files (defaults
to current working directory)
-l LANGUAGE, --language LANGUAGE
The language shorthand to use for exported HTML
versions (defaults to "en")
-f FORMAT, --format FORMAT
The format for the exported files ("html" or "json",
defaults to "html")
Skype Exporter (c) 2018 Julian Fietkau
Licensed under the ISC. See LICENSE for details.