Skip to content

jamess60/telegram-gdpr-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telegram-gdpr-extractor

TLDR - Telegram GDPR Export Json + search term -> Excel

Background

Soon, I will need to apply for a spouse visa which involves proving to the government that a relationship is genuine... Sounds like a lot of work...

Figured I could perform a GPDR export from telegram, filter the JSON for messages that match certain user IDs (myself + parner) and Search terms (defined in config), then export as Excel.

This allows you to easily give a time/datestamped list of every occurence of common messages such as "good morning".

Usage

  1. Install Python + the following libraries: json, re, configparser, pandas, datetime, pytz (most if not all will be included with your python install by default depending on environment)
  2. Edit conf/config.ini accordingly. You'll need to do some ctrl+f work in the telegram results.json file to find the user IDs.
  3. Run the script python3 src/tgram-gdpr-ext.py

About

Telegram GDPR export + search term = Excel output :)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages