telegram-history-dump
telegram-history-dump copied to clipboard
Backup Telegram chat logs using telegram-cli
While the timestamps in json files seem to be correct, the timestamps in HTML files are not: The minutes are wrong. The culprit is in `formatters/html.rb`: ```ruby date_message = date.strftime('%a...
I am wondering is it possible to modify the code to make it works for streaming scenarios. Currently, it's working in a batch manner (user runs it once and it...
Some videos and archives are pretty big in channels and user chats. Is there any way to sort them out?
Traceback (most recent call last): 11: from telegram-history-dump.rb:370:in `' 10: from telegram-history-dump.rb:370:in `each_with_index' 9: from telegram-history-dump.rb:370:in `each' 8: from telegram-history-dump.rb:373:in `block in ' 7: from telegram-history-dump.rb:181:in `dump_dialog' 6: from /some/path/telegram-history-dump/lib/json_lines_dumper.rb:31:in...
Hey all, Not sure how I never ran into this before. Seems that it gave the chat name (shortened) "Book." some weird name (OMCVRV~I) and has now decided to stop...
I'm getting the following error after some time when backing up a large dialog: ``` Traceback (most recent call last): 16: from telegram-history-dump.rb:375:in '' 15: from telegram-history-dump.rb:375:in 'each_with_index' 14: from...
Sometimes (often) in chats/groups I got error: ``` Traceback (most recent call last): 16: from telegram-history-dump.rb:375:in `' 15: from telegram-history-dump.rb:375:in `each_with_index' 14: from telegram-history-dump.rb:375:in `each' 13: from telegram-history-dump.rb:379:in `block in...
- This happens both with `telegram-cli` running on another machine or locally, also with UNIX socket connection - `media-timeout` in config file has no influence - `copy_media` ecc. doesn't matter...
Period at end of chat name causes issues, this solves that but also will replace them throughout the entire name. This is a somewhat harmless side effect. Solves #107
```➜ telegram-history-dump git:(master) ✗ ruby telegram-history-dump.rb I, [2018-08-10T15:43:58.205295 #10165] INFO -- : Attaching to telegram-cli control socket at localhost:9009 /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/json/common.rb:156:in `initialize': no implicit conversion of nil into String (TypeError) from...