Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude big files #93

Open
Jimmm opened this issue Nov 2, 2017 · 3 comments
Open

Exclude big files #93

Jimmm opened this issue Nov 2, 2017 · 3 comments

Comments

@Jimmm
Copy link

Jimmm commented Nov 2, 2017

Some videos and archives are pretty big in channels and user chats. Is there any way to sort them out?

@lgommans
Copy link

lgommans commented Apr 20, 2018

This is currently not supported. It probably needs to be implemented around here, if at all possible: https://github.com/tvdstaaij/telegram-history-dump/blob/master/telegram-history-dump.rb#L173

Size information does not seem to be conveyed by tgcli, so it would probably be hard to implement before downloading. The code could check downloaded files afterwards and delete them immediately if they don't meet the requirements, but then you still have to download the complete file first.

@Jimmm
Copy link
Author

Jimmm commented Sep 20, 2018

At least it will not consume my precious HDD space. Telegram Desktop app has an option to limit downloaded file size, but it saves chats as html only, without resume or incremental save option, so I am still using thd.

@Arunm0111986
Copy link

Pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants