Closed poliandro closed 1 year ago
@poliandro There is a repo similar to telegram-upload that uses program.
Thanks for the suggestion, but the change to pyrogram is too big. telegram-upload has too many dependencies on telethon. I'm going to try the solution in #140 first, if it doesn't work I could switch to pyrogram.
Thanks!
@SoravKu Thank you for the suggestion. @Nekmo I'm glad you work again on this project. I will wait for next version, with faster speed.
@poliandro you are welcome :) I hope I can have it done soon.
Speed improvements have been implemented in Telegram-upload v0.7.0. You can see the benchmarks with the improvement in: https://docs.nekmo.org/telegram-upload/upload_benchmark.html
Telethon is slow when uploading files because it does so by uploading the file chunks sequentially, rather than in parallel, how the pyrogram does. The telethon developer has no interest in changing this. Uploading with pyrogram is 5–10 times faster than using telethon.
Also, the pyrogram code is much simpler and easier to work with. Rather than using hacks like fastTelethon, this solution is an alternative to #140 and resolves the low speed by default.