You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
originally , the script download several file at the same time and i see the download bandwidth is only 2,6 MB
with trying to play with those 2 variable i manage to have a better bandwidth (5,7mb , but i got warning showing
like error 400 (see at the end of this post) or error 420 (flood warning)
could you help me to optimise and get the highest throughput by tuning how many file and how many part of each file would be downloaded at the same time ? thanks
i started to play with : begin_import(config, pagination_limit=2) to download only 2 files at the same time
then i attempted to add some variable to be able to download more parts, but i might be wrong with the usage of max_concurrent_transmissions=XXXX
Telegram says: [400 AUTH_BYTES_INVALID] - The authorization bytes are invalid (caused by "auth.ImportAuthorization") client.py:1021
Traceback (most recent call last):
File "C:\w\net-crea\Python_3_10_11\lib\site-packages\pyrogram\client.py", line 884, in get_file
await session.invoke(
File "C:\w\net-crea\Python_3_10_11\lib\site-packages\pyrogram\session\session.py", line 389, in invoke
return await self.send(query, timeout=timeout)
File "C:\w\net-crea\Python_3_10_11\lib\site-packages\pyrogram\session\session.py", line 357, in send
RPCError.raise_it(result, type(data))
File "C:\w\net-crea\Python_3_10_11\lib\site-packages\pyrogram\errors\rpc_error.py", line 91, in raise_it
raise getattr(
pyrogram.errors.exceptions.bad_request_400.AuthBytesInvalid: Telegram says: [400 AUTH_BYTES_INVALID] - The authorization bytes are invalid (caused by "auth.ImportAuthorization")
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
originally , the script download several file at the same time and i see the download bandwidth is only 2,6 MB
with trying to play with those 2 variable i manage to have a better bandwidth (5,7mb , but i got warning showing
like error 400 (see at the end of this post) or error 420 (flood warning)
could you help me to optimise and get the highest throughput by tuning how many file and how many part of each file would be downloaded at the same time ? thanks
i started to play with :
begin_import(config, pagination_limit=2)
to download only 2 files at the same timethen i attempted to add some variable to be able to download more parts, but i might be wrong with the usage of
max_concurrent_transmissions=XXXX
the message of error is :
Beta Was this translation helpful? Give feedback.
All reactions