tangyoha / telegram_media_downloader

基于Dineshkarthik的项目, 电报视频下载,电报资源下载,跨平台,支持web查看下载进度 ,支持bot下发指令下载,支持下载已经加入的私有群但是限制下载的资源, telegram media download,Download media files from a telegram conversation/chat/channel up to 2GiB per file
MIT License
2.54k stars 305 forks source link

[Bug]: 怀疑代理是否需要udp服务,才能访问api.telegram.org #165

Closed TaoRone closed 4 months ago

TaoRone commented 6 months ago

telegram_media_downloader version or commit

v2.2.3

What OS are you seeing the problem on?

Other Linux Distro

Python Version

CPython 3.11.2

What happened?

前提:已经设置好后台代理和socks5代理 当后台openclash通过trojan进行代理,输入手机号后,会卡在获取验证码这一步 如果切换为ss(打开了udp),就可以畅通继续 是否api.telegram.org需要能udp访问的节点?

Expected Behavior

RT

Current Behavior

RT

Possible Solution

1.建议增加一个设置项,即用户可以输入自己反代的tg api地址 2.增加提示,节点必须支持udp(个人怀疑)

Steps to Reproduce

No response

Relevant log output

No response

tangyoha commented 4 months ago

@TaoRone hi, 应该是网络与telegram dn对应的服务器不通导致的