A tool for downloading files from telegram channels.
It's a JSON file in ~/.config/telegrab.json
or your OS equivalent.
Generate a session id using something like openssl rand -hex 32
- keeping it stable means you don't have to log in each time.
{
"session_id" : "asdfasdfasfsfasd",
"api_id" : "123456",
"api_hash" : "asdfasdfasdfasdf"
}
You specify the download_dir
in config or on the command line (with --download-dir
).
It'll take the "session_id" value and store session data in ~/.config/telegrab/{session_id}