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

Print"All files will be downloaded to 'downloads' dir",but there's nothing downloaded #155

Closed
Kurumizz opened this issue Apr 22, 2023 · 11 comments

Comments

@Kurumizz
Copy link

Hello bro,when i use it to download the protected chat files
it's just printing "All files will be downloaded to 'downloads' dir"
But there is no display of any download process.
And there's nothing in my 'downloads' dir.
How should I solve this problem? Thanks for your help。
photo_2023-04-23_00-12-26

@iyear
Copy link
Owner

iyear commented Apr 24, 2023

What's your command? Do the messages contain media files?

@Kurumizz
Copy link
Author

Kurumizz commented Apr 25, 2023

here is my command

tdl login -n 59008030XX -d E:\Software\tportable-x64.3.3.0\Telegram\Telegram.exe
tdl dl -n 59008030XX --proxy socks5://localhost:7890 -u https://t.me/c/1550781555/2 -u https://t.me/c/1550781555/27956

I want to download the media from the 2nd to the 27956th messages. There're not all messages containing media files.

And when I tried to use the JSON to download, there's printing “[unknown shorthand flag: 'c' in -c](callback: resolve: rpcDoRequest: rpc error code 400: USERNAME_INVALID)”

And here is my command

tdl chat export -c https://t.me/c/1550781555 -n 59008030XX --proxy socks5://localhost:7890

What's your command? Do the messages contain media files?

@Kurumizz
Copy link
Author

Kurumizz commented Apr 25, 2023

I modified my command to:

_tdl chat export -c 1550781555 -f file=.*.mp4 -n 59008030XX --proxy socks5://localhost:7890 _

It worked to export JSON, but it printed

1550781555 ... [.........<#>......] [50 in 1m34.407s; 0/s]
group: task readLoop: read: read: read intermediate: read length: EOF

When I used the JSON to download medias, it also printed:

"group: task readLoop: read: read: read intermediate: read length: EOF"

How should I solve this problem?

@iyear
Copy link
Owner

iyear commented Apr 26, 2023

What's the version of your second reply?

@iyear
Copy link
Owner

iyear commented Apr 26, 2023

Is v0.8.2 fixes this problem?

@Kurumizz
Copy link
Author

Is v0.8.2 fixes this problem?

v0.8.2 didn't fix this problem.


**tdl chat export -c 1550781555 -n 59008030XX --proxy socks5://localhost:7890
1550781555 ... [.........<#>......] [790 in 1m34.401s; 8/s]
group: task readLoop: read: read: read intermediate: read length: EOF

tdl version
Version: 0.8.2
Commit: 3d05daf
Date: 2023-04-26T01:50:39Z
go1.19.8 windows/amd64**

@iyear
Copy link
Owner

iyear commented Apr 26, 2023

Try the v0.8.0? I can't ensure it's a bug or your network problem.

@Kurumizz
Copy link
Author

Kurumizz commented Apr 26, 2023

I used v0.8.0 and replaced proxy. It didn't work too,

TDL version
Version: 0.8.0
Commit: 4b8581c
Date: 2023-04-09T13:14:32Z
go1.19.7 windows/amd64

tdl chat export -c 1550781555 -n 59008030XX --proxy socks5://localhost:7890
Namespace: 59008030XX
WARN: Export only generates minimal JSON for tdl download, not for backup.
Occasional suspensions are due to Telegram rate limitations, please wait a moment.

Type: time | Input: [0 9223372036854775807]
Filters: map[content:.* file:.*]
1550781555 ... [....<#>...........] [1.11K in 2m31.002s; 7/s]
group: task readLoop: read: read: read intermediate: read length: EOF

Try the v0.8.0? I can't ensure it's a bug or your network problem.

@iyear
Copy link
Owner

iyear commented Apr 26, 2023

I guess it's your network problem. I also tested it and it worked...

@Kurumizz
Copy link
Author

I guess it's your network problem

I'll try it for a while, thanks bro.

@iyear
Copy link
Owner

iyear commented May 24, 2023

Try v0.8.6 or v0.9.0. Solution thread in #158.

Feel free to reopen the issue if you have any questions.

@iyear iyear closed this as completed May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants