An open API service indexing awesome lists of open source software.

https://github.com/layerex/telegram-export-gifs

Export gifs from telegram
https://github.com/layerex/telegram-export-gifs

gifs telegram

Last synced: about 1 year ago
JSON representation

Export gifs from telegram

Awesome Lists containing this project

README

          

# 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

```sh
go build
./telegram-export-gifs
```

## Usage

```text
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/user/.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.
```