Skip to content

[Bug] The exported JSON file is missing some video IDs.导出的json文件缺少id #1207

@dws19950304-cyber

Description

@dws19950304-cyber

Describe the bug

I need to download messages with specific keywords, but the exported JSON file only contains the ID of the first video in that message; other video IDs from the same message are not exported. Is my code incorrect? The code is as follows:

tdl --proxy socks5://127.0.0.1:7890 chat export -c 12********* -f "Message contains '#实例'" --with-content

导出含有关键词的消息,生成的json文件只有消息中第一个视频的id,同一消息中其他视频id是缺失的,导致下载的视频也缺失。我的代码如下,请指教是否有代码编写错误:

tdl --proxy socks5://127.0.0.1:7890 chat export -c 12********* -f "Message contains '#实例'" --with-content

To Reproduce

123

Expected behavior

The generated JSON file contains the IDs of all files under the specified message.
生成的json文件包含指定消息下的所有文件id。

Version

Version: 0.20.1
Commit: 742da1b
Date: 2025-12-14T16:19:18Z

go1.23.10 windows/amd64

Which OS are you running tdl on?

Windows

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions