iyear / tdl Goto Github PK
View Code? Open in Web Editor NEW📥 A Telegram toolkit written in Golang
Home Page: https://docs.iyear.me/tdl
License: GNU Affero General Public License v3.0
📥 A Telegram toolkit written in Golang
Home Page: https://docs.iyear.me/tdl
License: GNU Affero General Public License v3.0
老哥能不能给个v,想问点东西。
PS D:\Telegram Desktop> tdl login -n quickstart -d D:\Telegram Desktop
Namespace: quickstart
WARN: If data exists in the namespace, data will be overwritten
CreateFile D:\Telegram: The system cannot find the file specified
I have downloaded the .zip file but I don't know how to install it on windows, could you help me?
问题:当一个链接里面有多个视频/文件的时候只下载第一个视频/文件
示例地址:https://t.me/gmtxgames/85
ps:看大佬这么整齐的英文issue,发个中文有点破坏美感了
?
The following formats are supported
https://t.me/c/tdl/1-xxx
That is, it is equivalent to
https://t.me/c/tdl/1
https://t.me/c/tdl/2
https://t.me/c/tdl/3
——————————
https://t.me/c/tdl/xxx
The default parameters are consistent with the official client to reduce the probability of blocking
Key: 'Options.NS' Error:Field validation for 'NS' failed on the 'required' tag
Get item failed: rpcDoRequest: retryUntilAck: retry limit reached after 10 attempts, skip...
callback: get file: get next chunk: rpcDoRequest: retryUntilAck: retry limit reached after 10 attempts
0.2.0版本,能夠正常下載的同一個文件,在0.2.1版本,下載就提示錯誤。
WIN 7 系統,先用0.2.0版本測試:
.\tdl dl url -n hebine1 --proxy socks5://localhost:2333 -u https://t.me/c/1650884719/1198
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m~ ... 0.0% [..................] [0 B in 8.54s; 0 B/s]
�[K[................................................................] [9s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m~ ... 6.4% [#.................] [512.00 KB in 8.64s; ETA: 2m15s; 59 ... 6.4% [#.................] [512.00 KB in 8.74s;
26 KB/s]
�[K[###.............................................................] [9s; 59.26 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 2m17s; 58 ... 6.4% [#.................] [512.00 KB in 8.841s;
58 KB/s]
�[K[###.............................................................] [9s; 58.58 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 2m19s; 5 ... 6.4% [#.................] [512.00 KB in 8.941s;
.92 KB/s]
�[K[###.............................................................] [9s; 57.92 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 2m20s; 5 ... 6.4% [#.................] [512.00 KB in 9.041s;
.27 KB/s]
�[K[###.............................................................] [9s; 57.27 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 2m22s; 5 ... 6.4% [#.................] [512.00 KB in 9.141s;
.63 KB/s]
�[K[###.............................................................] [9s; 56.63 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 2m23s; 5 ... 6.4% [#.................] [512.00 KB in 9.241s;
.01 KB/s]
�[K[###.............................................................] [9s; 56.01 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 2m25s; 5 ... 6.4% [#.................] [512.00 KB in 9.341s;
.41 KB/s]
�[K[###.............................................................] [9s; 55.41 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 2m26s; 5 ... 6.4% [#.................] [512.00 KB in 9.441s;
.81 KB/s]
�[K[###.............................................................] [9s; 54.81 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 2m28s; 5 ... 12.8% [##................] [1.00 MB in 9.541s;
.23 KB/s]
�[K[###.............................................................] [9s; 54.23 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 1m10s; 107 ... 12.8% [##................] [1.00 MB in 9.641s;
33 KB/s]
�[K[#######.........................................................] [10s; 107.33 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 1m11s; 106 ... 12.8% [##................] [1.00 MB in 9.741s;
22 KB/s]
�[K[#######.........................................................] [10s; 106.22 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 1m11s; 105 ... 12.8% [##................] [1.00 MB in 9.841s;
13 KB/s]
�[K[#######.........................................................] [10s; 105.13 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 1m12s; 104 ... 12.8% [##................] [1.00 MB in 9.941s;
06 KB/s]
�[K[#######.........................................................] [10s; 104.06 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 1m13s; 103 ... 19.2% [###...............] [1.50 MB in 10.041s;
01 KB/s]
�[K[#######.........................................................] [10s; 103.01 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 43s; 152. ... 19.2% [###...............] [1.50 MB in 10.141s;
8 KB/s]
�[K[############....................................................] [10s; 152.98 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 43s; 151. ... 19.2% [###...............] [1.50 MB in 10.241s;
7 KB/s]
�[K[############....................................................] [10s; 151.47 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 44s; 149. ... 19.2% [###...............] [1.50 MB in 10.341s;
9 KB/s]
�[K[############....................................................] [10s; 149.99 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 44s; 148. ... 19.2% [###...............] [1.50 MB in 10.442s;
4 KB/s]
�[K[############....................................................] [10s; 148.54 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 45s; 147. ... 25.6% [####..............] [2.00 MB in 10.541s;
0 KB/s]
�[K[############....................................................] [10s; 147.10 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 32s; 194. ... 25.6% [####..............] [2.00 MB in 10.641s;
0 KB/s]
�[K[################................................................] [11s; 194.30 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 32s; 192. ... 25.6% [####..............] [2.00 MB in 10.741s;
7 KB/s]
�[K[################................................................] [11s; 192.47 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 32s; 190. ... 25.6% [####..............] [2.00 MB in 10.841s;
8 KB/s]
�[K[################................................................] [11s; 190.68 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 33s; 188. ... 25.6% [####..............] [2.00 MB in 10.941s;
2 KB/s]
�[K[################................................................] [11s; 188.92 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 33s; 187. ... 32.0% [#####.............] [2.50 MB in 11.041s;
9 KB/s]
�[K[################................................................] [11s; 187.19 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 23s; 231. ... 32.0% [#####.............] [2.50 MB in 11.141s;
7 KB/s]
�[K[####################............................................] [11s; 231.87 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 24s; 229. ... 32.0% [#####.............] [2.50 MB in 11.241s;
9 KB/s]
�[K[####################............................................] [11s; 229.79 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 24s; 227. ... 32.0% [#####.............] [2.50 MB in 11.341s;
4 KB/s]
�[K[####################............................................] [11s; 227.74 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 24s; 225. ... 32.0% [#####.............] [2.50 MB in 11.441s;
4 KB/s]
�[K[####################............................................] [11s; 225.74 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 24s; 223. ... 38.4% [######............] [3.00 MB in 11.541s;
6 KB/s]
�[K[####################............................................] [11s; 223.76 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 19s; 266. ... 38.4% [######............] [3.00 MB in 11.641s;
9 KB/s]
�[K[########################........................................] [12s; 266.19 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 19s; 263. ... 38.4% [######............] [3.00 MB in 11.741s;
0 KB/s]
�[K[########################........................................] [12s; 263.90 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 19s; 261. ... 38.4% [######............] [3.00 MB in 11.841s;
5 KB/s]
�[K[########################........................................] [12s; 261.65 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 19s; 259. ... 38.4% [######............] [3.00 MB in 11.941s;
4 KB/s]
�[K[########################........................................] [12s; 259.44 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 19s; 257. ... 44.9% [########..........] [3.50 MB in 12.041s;
7 KB/s]
�[K[########################........................................] [12s; 257.27 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 15s; 297. ... 44.9% [########..........] [3.50 MB in 12.141s;
6 KB/s]
�[K[############################....................................] [12s; 297.66 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 15s; 295. ... 44.9% [########..........] [3.50 MB in 12.241s;
1 KB/s]
�[K[############################....................................] [12s; 295.21 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 16s; 292. ... 44.9% [########..........] [3.50 MB in 12.341s;
9 KB/s]
�[K[############################....................................] [12s; 292.79 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 16s; 290. ... 44.9% [########..........] [3.50 MB in 12.441s;
2 KB/s]
�[K[############################....................................] [12s; 290.42 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 16s; 288. ... 51.3% [#########.........] [4.00 MB in 12.541s;
9 KB/s]
�[K[############################....................................] [12s; 288.09 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 12s; 326. ... 51.3% [#########.........] [4.00 MB in 12.641s;
2 KB/s]
�[K[################################................................] [13s; 326.62 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 12s; 324. ... 51.3% [#########.........] [4.00 MB in 12.741s;
3 KB/s]
�[K[################################................................] [13s; 324.03 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 12s; 321. ... 51.3% [#########.........] [4.00 MB in 12.841s;
9 KB/s]
�[K[################################................................] [13s; 321.49 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 12s; 318. ... 51.3% [#########.........] [4.00 MB in 12.941s;
8 KB/s]
�[K[################################................................] [13s; 318.98 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 12s; 316. ... 57.7% [##########........] [4.50 MB in 13.041s;
2 KB/s]
�[K[################################................................] [13s; 316.52 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 10s; 353. ... 57.7% [##########........] [4.50 MB in 13.141s;
5 KB/s]
�[K[####################################............................] [13s; 353.35 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 10s; 350. ... 57.7% [##########........] [4.50 MB in 13.241s;
6 KB/s]
�[K[####################################............................] [13s; 350.66 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 10s; 348. ... 57.7% [##########........] [4.50 MB in 13.341s;
2 KB/s]
�[K[####################################............................] [13s; 348.02 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 10s; 345. ... 57.7% [##########........] [4.50 MB in 13.441s;
1 KB/s]
�[K[####################################............................] [13s; 345.41 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 10s; 342. ... 57.7% [##########........] [4.50 MB in 13.541s;
4 KB/s]
�[K[####################################............................] [13s; 342.84 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 10s; 340. ... 64.1% [###########.......] [5.00 MB in 13.641s;
0 KB/s]
�[K[####################################............................] [14s; 340.30 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 8s; 375.3 ... 64.1% [###########.......] [5.00 MB in 13.741s;
KB/s]
�[K[########################################........................] [14s; 375.34 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 8s; 372.6 ... 64.1% [###########.......] [5.00 MB in 13.841s;
KB/s]
�[K[########################################........................] [14s; 372.61 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 8s; 369.9 ... 64.1% [###########.......] [5.00 MB in 13.941s;
KB/s]
�[K[########################################........................] [14s; 369.92 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 8s; 367.2 ... 64.1% [###########.......] [5.00 MB in 14.041s;
KB/s]
�[K[########################################........................] [14s; 367.27 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 8s; 364.6 ... 64.1% [###########.......] [5.00 MB in 14.141s;
KB/s]
�[K[########################################........................] [14s; 364.65 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 8s; 362.0 ... 64.1% [###########.......] [5.00 MB in 14.241s;
KB/s]
�[K[########################################........................] [14s; 362.07 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 8s; 359.5 ... 64.1% [###########.......] [5.00 MB in 14.341s;
KB/s]
�[K[########################################........................] [14s; 359.53 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 8s; 357.0 ... 64.1% [###########.......] [5.00 MB in 14.441s;
KB/s]
�[K[########################################........................] [14s; 357.02 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 8s; 354.5 ... 64.1% [###########.......] [5.00 MB in 14.541s;
KB/s]
�[K[########################################........................] [14s; 354.55 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 8s; 352.1 ... 64.1% [###########.......] [5.00 MB in 14.641s;
KB/s]
�[K[########################################........................] [15s; 352.11 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 8s; 349.7 ... 70.5% [############......] [5.50 MB in 14.741s;
KB/s]
�[K[########################################........................] [15s; 349.71 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 6s; 382.0 ... 70.5% [############......] [5.50 MB in 14.841s;
KB/s]
�[K[############################################....................] [15s; 382.07 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 6s; 379.4 ... 70.5% [############......] [5.50 MB in 14.941s;
KB/s]
�[K[############################################....................] [15s; 379.49 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 6s; 376.9 ... 70.5% [############......] [5.50 MB in 15.041s;
KB/s]
�[K[############################################....................] [15s; 376.95 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 6s; 374.4 ... 70.5% [############......] [5.50 MB in 15.141s;
KB/s]
�[K[############################################....................] [15s; 374.45 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 6s; 371.9 ... 70.5% [############......] [5.50 MB in 15.241s;
KB/s]
�[K[############################################....................] [15s; 371.97 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 7s; 369.5 ... 70.5% [############......] [5.50 MB in 15.341s;
KB/s]
�[K[############################################....................] [15s; 369.53 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 7s; 367.1 ... 76.9% [#############.....] [6.00 MB in 15.441s;
KB/s]
�[K[############################################....................] [15s; 367.12 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 5s; 397.9 ... 76.9% [#############.....] [6.00 MB in 15.541s;
KB/s]
�[K[################################################................] [15s; 397.90 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 5s; 395.3 ... 76.9% [#############.....] [6.00 MB in 15.641s;
KB/s]
�[K[################################################................] [16s; 395.34 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 5s; 392.8 ... 76.9% [#############.....] [6.00 MB in 15.741s;
KB/s]
�[K[################################################................] [16s; 392.82 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 5s; 390.3 ... 76.9% [#############.....] [6.00 MB in 15.841s;
KB/s]
�[K[################################################................] [16s; 390.32 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 5s; 387.8 ... 76.9% [#############.....] [6.00 MB in 15.941s;
KB/s]
�[K[################################################................] [16s; 387.86 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 5s; 385.4 ... 76.9% [#############.....] [6.00 MB in 16.041s;
KB/s]
�[K[################################################................] [16s; 385.42 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 5s; 383.0 ... 83.3% [##############....] [6.50 MB in 16.141s;
KB/s]
�[K[################################################................] [16s; 383.02 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 3s; 412.3 ... 83.3% [##############....] [6.50 MB in 16.241s;
KB/s]
�[K[#####################################################...........] [16s; 412.37 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 3s; 409.8 ... 83.3% [##############....] [6.50 MB in 16.341s;
KB/s]
�[K[#####################################################...........] [16s; 409.83 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 3s; 407.3 ... 83.3% [##############....] [6.50 MB in 16.441s;
KB/s]
�[K[#####################################################...........] [16s; 407.32 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 3s; 404.8 ... 83.3% [##############....] [6.50 MB in 16.541s;
KB/s]
�[K[#####################################################...........] [16s; 404.84 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 3s; 402.3 ... 83.3% [##############....] [6.50 MB in 16.641s;
KB/s]
�[K[#####################################################...........] [17s; 402.39 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 3s; 399.9 ... 83.3% [##############....] [6.50 MB in 16.741s;
KB/s]
�[K[#####################################################...........] [17s; 399.98 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 3s; 397.5 ... 87.2% [###############...] [6.80 MB in 16.841s;
KB/s]
�[K[#####################################################...........] [17s; 397.59 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 3s; 413.6 ... 87.2% [###############...] [6.80 MB in 16.941s;
KB/s]
�[K[#######################################################.........] [17s; 413.63 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 3s; 411.1 ... 87.2% [###############...] [6.80 MB in 17.041s;
KB/s]
�[K[#######################################################.........] [17s; 411.19 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 3s; 408.7 ... 87.2% [###############...] [6.80 MB in 17.14s;
KB/s]
�[K[#######################################################.........] [17s; 408.78 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 3s; 406.41 ... 87.2% [###############...] [6.80 MB in 17.24s;
KB/s]
�[K[#######################################################.........] [17s; 406.41 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 3s; 404.06 ... 87.2% [###############...] [6.80 MB in 17.34s;
KB/s]
�[K[#######################################################.........] [17s; 404.06 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 3s; 401.73 ... 87.2% [###############...] [6.80 MB in 17.44s;
KB/s]
�[K[#######################################################.........] [17s; 401.73 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0mETA: 3s; 399.42 ... 93.6% [################..] [7.30 MB in 17.54s; 426.33 KB/s]
KB/s]
�[K[#######################################################.........] [17s; 399.42 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m
�[K[###########################################################.....] [18s; 426.33 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m~ ... 93.6% [################..] [7.30 MB in 17.64s; 423.92 KB/s]
�[K[###########################################################.....] [18s; 423.92 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m~ ... 93.6% [################..] [7.30 MB in 17.74s; 421.53 KB/s]
�[K[###########################################################.....] [18s; 421.53 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m~ ... 93.6% [################..] [7.30 MB in 17.84s; 419.17 KB/s]
�[K[###########################################################.....] [18s; 419.17 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m~ ... 93.6% [################..] [7.30 MB in 17.94s; 416.83 KB/s]
�[K[###########################################################.....] [18s; 416.83 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m~ ... 93.6% [################..] [7.30 MB in 18.04s; 414.52 KB/s]
�[K[###########################################################.....] [18s; 414.52 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m~ ... 93.6% [################..] [7.30 MB in 18.14s; 412.23 KB/s]
�[K[###########################################################.....] [18s; 412.23 KB/s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m~ ... �[32mdone!�[0m [7.80 MB in 18.162s; 438.04 KB/s]
至此,順利下載完成,得到一個7.8M,播放時長19秒的視頻。
之後,換用0.2.1版本再對同一個文件進行下載,就會出現錯誤提示:
�[KPS E:\tg\td3> .\tdl21 dl url -n hebine1 --proxy socks5://localhost:2333 -u https://t.me/c/1650884719/1198
�[K�[32mAll files will be downloaded to 'downloads' dir�[0m
�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m~ ... 0.0% [..................] [0 B in 83ms; 0 B/s]
�[K[................................................................] [0s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m~ ... 0.0% [..................] [0 B in 183ms; 0 B/s]
�[K[................................................................] [0s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m~ ... 0.0% [..................] [0 B in 283ms; 0 B/s]
�[K[................................................................] [0s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m~ ... 0.0% [..................] [0 B in 383ms; 0 B/s]
�[K[................................................................] [0s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m~ ... 0.0% [..................] [0 B in 483ms; 0 B/s]
�[K[................................................................] [0s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m~ ... 0.0% [..................] [0 B in 583ms; 0 B/s]
�[K[................................................................] [1s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m~ ... 0.0% [..................] [0 B in 683ms; 0 B/s]
�[K[................................................................] [1s]
�[2A�[K�[34m1650884719_1198_BMjAyMjA5MTYyMzM3M�[0m~ ... 0.0% [..................] [0 B in 783ms; 0 B/s]
�[K[................................................................] [1s]
panic: unaligned 64-bit atomic operation
goroutine 63 [running]:
runtime/internal/atomic.panicUnaligned()
runtime/internal/atomic/unaligned.go:8 +0x2d
runtime/internal/atomic.Xadd64(0x14123834, 0x1)
runtime/internal/atomic/atomic_386.s:125 +0x11
go.uber.org/atomic.(*Int64).Add(...)
go.uber.org/[email protected]/int64.go:50
go.uber.org/atomic.(*Int64).Inc(...)
go.uber.org/[email protected]/int64.go:60
github.com/gotd/td/telegram.(*Client).dc.func1()
github.com/gotd/[email protected]/telegram/pool.go:69 +0x6c
github.com/gotd/td/internal/pool.(*DC).createConnection(0x1406e000, 0x1)
github.com/gotd/[email protected]/internal/pool/pool.go:72 +0x24
github.com/gotd/td/internal/pool.(*DC).acquire(0x1406e000, {0x14a10a4, 0x143e3e30})
github.com/gotd/[email protected]/internal/pool/pool.go:181 +0x1e8
github.com/gotd/td/internal/pool.(*DC).Invoke(0x1406e000, {0x14a10a4, 0x143e3e30}, {0x149be84, 0x14502030}, {0x149bdd0,
0x145820b8})
github.com/gotd/[email protected]/internal/pool/pool.go:246 +0x82
github.com/gotd/td/tg.(*Client).AuthImportAuthorization(0x1445d798, {0x14a10a4, 0x143e3e30}, 0x14502030)
github.com/gotd/[email protected]/tg/tl_auth_import_authorization_gen.go:204 +0x7d
github.com/gotd/td/telegram.(*Client).transfer(0x14123600, {0x14a10a4, 0x143e3e30}, 0x1445d798, 0x5)
github.com/gotd/[email protected]/telegram/transfer.go:30 +0xad
github.com/gotd/td/telegram.(*Client).dc(0x14123600, {0x14a10a4, 0x143e3e30}, 0x5, 0x1, 0x14094430)
github.com/gotd/[email protected]/telegram/pool.go:97 +0x421
github.com/gotd/td/telegram.(*Client).invokeSub(0x14123600, {0x14a10a4, 0x143e3e30}, 0x5, {0x149e508, 0x14594140}, {0x14
9e4b8, 0x143fe038})
github.com/gotd/[email protected]/telegram/sub_conns.go:20 +0xbb
github.com/gotd/td/telegram.(*Client).invokeDirect(0x14123600, {0x14a10a4, 0x143e3e30}, {0x149e508, 0x14594140}, {0x149e
4b8, 0x143fe038})
github.com/gotd/[email protected]/telegram/invoke.go:68 +0x3f5
github.com/gotd/td/telegram.InvokeFunc.Invoke(0x143fe4c0, {0x14a10a4, 0x143e3e30}, {0x149e508, 0x14594140}, {0x149e4b8,
0x143fe038})
github.com/gotd/[email protected]/telegram/middleware.go:15 +0x4c
github.com/gotd/contrib/middleware/floodwait.(*SimpleWaiter).Handle.func1({0x14a10a4, 0x143e3e30}, {0x149e508, 0x1459414
0}, {0x149e4b8, 0x143fe038})
github.com/gotd/[email protected]/middleware/floodwait/simple_waiter.go:77 +0xa7
github.com/gotd/td/telegram.InvokeFunc.Invoke(0x143b73c0, {0x14a10a4, 0x143e3e30}, {0x149e508, 0x14594140}, {0x149e4b8,
0x143fe038})
github.com/gotd/[email protected]/telegram/middleware.go:15 +0x4c
github.com/gotd/td/tg.(*Client).UploadGetFile(0x143fe4c8, {0x14a10a4, 0x143e3e30}, 0x14594140)
github.com/gotd/[email protected]/tg/tl_upload_get_file_gen.go:340 +0x7d
github.com/gotd/td/telegram/downloader.master.Chunk({{0x14a15a8, 0x143fe4c8}, 0x1, 0x0, {0x14a38f0, 0x143e3d40}}, {0x14a
10a4, 0x143e3e30}, 0x300000, 0x80000)
github.com/gotd/[email protected]/telegram/downloader/master.go:44 +0xc7
github.com/gotd/td/telegram/downloader.(*reader).next(0x14098200, {0x14a10a4, 0x143e3e30}, 0x300000, 0x80000)
github.com/gotd/[email protected]/telegram/downloader/reader.go:92 +0x73
github.com/gotd/td/telegram/downloader.(*reader).nextPlain(0x14098200, {0x14a10a4, 0x143e3e30})
github.com/gotd/[email protected]/telegram/downloader/reader.go:87 +0xc4
github.com/gotd/td/telegram/downloader.(*reader).Next(0x14098200, {0x14a10a4, 0x143e3e30})
github.com/gotd/[email protected]/telegram/downloader/reader.go:54 +0xe7
github.com/gotd/td/telegram/downloader.(*Downloader).parallel.func2.1({0x14a10a4, 0x143e3e30})
github.com/gotd/[email protected]/telegram/downloader/parallel.go:50 +0xf1
github.com/gotd/td/internal/tdsync.(*CancellableGroup).Go.func1()
github.com/gotd/[email protected]/internal/tdsync/cancel_group.go:48 +0x2c
golang.org/x/sync/errgroup.(*Group).Go.func1()
golang.org/x/[email protected]/errgroup/errgroup.go:75 +0x62
created by golang.org/x/sync/errgroup.(*Group).Go
golang.org/x/[email protected]/errgroup/errgroup.go:72 +0xa6
是否是因爲沒有64位的問題?請問會提供WIN 64位的版本麼?
tdl chat export -c CHAT_INPUT --from 1665700000 --to 1665761624
這個例句的數字中,1665是固定內容麼?之後的70年,00月和00日麼?那麼,1665 76 16 24爲神馬是今天的意思呢?
Getting an error when while setup login: tdl login -d "D:\Telegram_Desktop\Telegram.exe"
open key_data: file "key_data" not found
Currently to my understanding, tdl will only download the files from chats.
Is it possible to download the message content as well for the tdl chat export
?
I can reach 100mbps when downloading using the official client.
But only with 32 threads can you use tdl to access 100mbps.
I suggest that you can impersonate the official client on api_id & hash and device type.
Https://core.telegram.org/method/initConnection
If you've already done a simulation, just forget it.(
As shown in the title, can you add an optional upload to the specified group or channel.
Sender.Self.Document()
GetMessages
when i typed
./tdl -n zsxwz
Directly back to help information
Telegram Downloader, but more than a downloader
Usage:
tdl [command]
Available Commands:
backup Backup your data
chat A set of chat tools
completion Generate the autocompletion script for the specified shell
dl Download anything from Telegram (protected) chat
help Help about any command
login Login to Telegram
recover Recover your data
up Upload anything to Telegram
version Check the version info
Flags:
--debug enable debug mode
-h, --help help for tdl
-l, --limit int max number of concurrent tasks (default 2)
-n, --ns string namespace for Telegram session
--ntp string ntp server host, if not set, use system time
--proxy string proxy address, only socks5 is supported, format: protocol://username:password@host:port
-s, --size int part size for transfer, max is 512*1024 (default 131072)
-t, --threads int threads for transfer one item (default 4)
Use "tdl [command] --help" for more information about a command.
how do i get one session?
When using the desktop client session, login also uses the appid and apphash of the desktop client.
https://github.com/telegramdesktop/tdesktop/blob/dev/Telegram/SourceFiles/config.h#L94-L95
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.