Layerex / telegram-export-gifs

Export gifs from telegram

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

telegram-export-gifs

Export gifs from telegram

WARNING: this program uses a hack to get older gifs not visible from client: it temporarily removes newer gifs to get older ones. If something goes wrong (for example if program gets killed, power goes off or internet disconnects), removed gifs will be lost.

Running

go build
./telegram-export-gifs

Usage

usage: ./telegram-export-gifs [-h] [-d DIRECTORY] [--dont-save-session] [--app-id APP_ID] [--app-hash APP_HASH]

Export saved gifs from telegram.

options:
  -h, --help            Show this help message and exit
  -d DIRECTORY, --directory DIRECTORY
                        Directory to export gifs to
  --dont-save-session   Don't save session file (and don't use already saved one)
  --app-id APP_ID       Test credentials are used by default
  --app-hash APP_HASH   Test credentials are used by default

Session file is saved to /home/layerex/.local/share/telegram-export-gifs/tg.session

WARNING: this program uses a hack to get older gifs not visible from client: it temporarily removes newer gifs to get older ones. If something goes wrong (for example if program gets killed, power goes off or internet disconnects), removed gifs will be lost.

About

Export gifs from telegram

License:GNU General Public License v3.0


Languages

Language:Go 99.6%Language:Makefile 0.4%