alfem / telegram-download-daemon

A simple script to automate telegram download of big files
Other
426 stars 119 forks source link

Improve download speed with telegram premium account #126

Open gpa090 opened 2 months ago

gpa090 commented 2 months ago

Hello, I have a telegram premium account, but I can't get full speed from download daemon. Desktop application maxes out my internet connection but daemon only has about 50mbps.

Is there any improvement or configuration to make use of premium advantages?

Thank you in advance.

gpa090 commented 1 month ago

@alfem I'm not sure if you've got a notification about this.

alfem commented 1 month ago

Yes, I've got it. I am afraid I can not test that without a Premium account.

I suggest you to ensure you are using your Premium account in the daemon (not only in desktop client), and update the telethon library.

gpa090 commented 1 month ago

Yes, I've got it. I am afraid I can not test that without a Premium account.

I suggest you to ensure you are using your Premium account in the daemon (not only in desktop client), and update the telethon library.

Ok, I tested a new docker build with master branch and It installed Telethon 1.37.0. Download speeds are the same that with your latest image (Telethon 1.28.5)

I investigated in telethon issues and discovered that many people asked about this topic. https://github.com/LonamiWebs/Telethon/issues/4323

TL;DR It appears that developers are not interested in providing any improvements in speed. Only improvement is to install cryptg as you already did.

I hope this helps for future people asking the same.

alfem commented 1 month ago

I understand Lonami answer to the not-very-polite questions from FreeM1ne.

I do not get paid for this (I do not get a simple 'thanks', more of the times). Users can suggest features, of course, but they will be developed if they are fun, or useful for most people.

Attitude is also important: "I need feature for me. I've got telegram premium but I don't waste a dollar in your open source software." has very low change of been done :-)