Giter Site home page Giter Site logo

Comments (9)

fengguowudi avatar fengguowudi commented on July 20, 2024

image

At the same time, I found that after using several large files under a non-member account, the tg server seems to have started to limit speed in the cloud.

image

from tdl.

iyear avatar iyear commented on July 20, 2024

Thanks for the feedback!

  1. The current code uses the test APP_ID&APP_HASH of the official desktop client(id=17349). I tried to use the real official APP with id=2040 and it didn't work for the download speed.

  2. Device identification is not currently doing simulations, but after I tried to do simulations, it didn't work either.

  3. The download speed limit seems to be by channel/group, not by account.

from tdl.

iyear avatar iyear commented on July 20, 2024

I don't have a premium account, so I can't test the effect of a premium account.

from tdl.

iyear avatar iyear commented on July 20, 2024

I will replace AppDesktop with the real official desktop client ID and it will not cause a breaking update. But how much effect it will have, I don't know

from tdl.

KoriIku avatar KoriIku commented on July 20, 2024

Telegram Android has a cloud-controlled parameter getfile_experimental_params, which is used to adjust the chunk size and max requests when downloading files. The parameter used when it is true can significantly improve the download speed, but the server is only set to true for the official client, and buying premium is not enough, so the third-party client downloads at a slow speed...

After the change, downloading too fast may trigger FLOOD_WAIT to prevent downloading.

The above information is quoted from https://t.me/zuragram/722, I'm not sure if this helps.

By the way, you can consider buying premium through the Turkish area, about $0.8 a month.

from tdl.

iyear avatar iyear commented on July 20, 2024

@KoriIku Thanks. I had read this message before.

What tdl currently does: import official desktop client session and use official client APP_ID & APP_HASH

from tdl.

iyear avatar iyear commented on July 20, 2024

@fengguowudi @KoriIku
I have released a new version that may solve this problem. Feel free to try it out.

https://github.com/iyear/tdl/releases/tag/v0.6.0-beta

from tdl.

hitslab avatar hitslab commented on July 20, 2024

Unfortunately v0.6.0-beta didn't help.
I have telegram premium, and tdl logged with existing official desktop clients.

Settings of threads, part size and concurrent tasks is default:
.\tdl.exe -n thprem dl -f .\tdl-export.json --skip-same

tdlspeed

from tdl.

iyear avatar iyear commented on July 20, 2024

@hitslab
Try larger threads, part-size.

Default values are consistent with the official client to reduce the risk of blocking.

Downloading across DCs can be significantly slower than downloading from the same DC

from tdl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.