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
Can not download media #4327
Comments
I don't have plan to implement support for downloads CDNs, however, that shouldn't happen because the default is to not allow CDN redirects: Telethon/telethon/client/downloads.py Lines 34 to 35 in 7ceb2e0
https://tl.telethon.dev/methods/upload/get_file.html (where cdn_supported is a flag and the default is False ).
|
okay, well, then what should I do in this situation? |
Someone needs to implement the feature. Whether that's you or someone else is up to you. As I said I'm not interested in doing so and don't really have the time to dig into it. However, there may be some old code in the Git commit history for this repository containing some clues on how CDN downloads work. |
@binoTiger that may be because of Your proxy . |
Code that causes the issue
Expected behavior
client gets a bunch of messages, and downloads the videos, if there are any.
Actual behavior
client receives a stack of messages, but when I try to download them, I get an error
Traceback
Telethon version
1.34.0
Python version
3.11.6
Operating system (including distribution name and version)
macOS 14.1
Other details
No response
Checklist
pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip
and triggered the bug in the latest version.The text was updated successfully, but these errors were encountered: