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

Using Search #851

Open
weskerty opened this issue Jan 15, 2025 · 0 comments
Open

Using Search #851

weskerty opened this issue Jan 15, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@weskerty
Copy link

weskerty commented Jan 15, 2025

Describe the bug

I'm using tdl chat export -c CHATID -f "Media.Name contains 'WORD TO SEARCH'" -o path/json.json

For example, I'm looking for Batman
But it doesn't find all the files. Does the default configuration have a search limit by time or messages to search?
Also, it seems to be case sensitive. Is there a way to find files that include that word?

Or is there a way to generate a json and have the dl function filter out the words?

To Reproduce

tdl chat export -c CHATID -f "Media.Name contains 'Batman'" -o path/json.json

Expected behavior

a full case insensitive search or a json search from dl

Version

Test Windows
Version: 0.18.3
Commit: 3cac28d
Date: 2024-11-29T08:24:07Z
go1.21.13 windows/amd64

And Termux
Version: dev
Commit: unknown
Date: unknown
go1.23.2 android/arm64

Which OS are you running tdl on?

Windows and Termux

Additional context

I'm trying to make a script that searches for books in certain channels with the word specified in the command. But searching for just the word with export chat seems inefficient and is very sensitive to the correct word. I thought about exporting the whole chat to reuse the export but dl doesn't have a json search.

Are there any alternatives or tips I could do?

@weskerty weskerty added the bug Something isn't working label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants