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

Total length error[ bug reports ] #138

Open
Damontools32 opened this issue May 9, 2024 · 1 comment
Open

Total length error[ bug reports ] #138

Damontools32 opened this issue May 9, 2024 · 1 comment
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed on it working on it question Further information is requested

Comments

@Damontools32
Copy link

I got this error when I want bot to download link Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/pyrogram/dispatcher.py", line 240, in handler_worker
await handler.callback(self.client, *args)
File "/content/All-Url-Uploader/All-Url-Uploader/All-Url-Uploader/plugins/callbacks.py", line 41, in button
await ddl_call_back(bot, update)
File "/content/All-Url-Uploader/All-Url-Uploader/All-Url-Uploader/plugins/dl_button.py", line 85, in ddl_call_back
await download_coroutine(
File "/content/All-Url-Uploader/All-Url-Uploader/All-Url-Uploader/plugins/dl_button.py", line 243, in download_coroutine
total_length = int(response.headers["Content-Length"])
KeyError: 'Content-Length

@Damontools32 Damontools32 added bug Something isn't working help wanted Extra attention is needed question Further information is requested labels May 9, 2024
@kalanakt
Copy link
Owner

hi @Damontools32 , what kind of url you used ?

@kalanakt kalanakt added the on it working on it label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed on it working on it question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants