nitter icon indicating copy to clipboard operation
nitter copied to clipboard

Add AND/OR selection to search query builder

Open gloschtla opened this issue 4 years ago • 4 comments

It appears, that nitter.net only uses AND instead of OR, whenever I use more than one term for the query.

gloschtla avatar Jan 30 '20 18:01 gloschtla

Supporting it properly is difficult due to the design constraints. You can manually type in the advanced search like you'd do on twitter

zedeus avatar Jan 30 '20 18:01 zedeus

You also can't do only or. Without adding a switch, or a literal cats "with dogs" OR "sleeping" (this would add 'reserved' words, and you can't search for quotes without escaping (or instead of quotes use something like STARTOR and FINISHOR).

Right now, the and behaviour is preferred, since you can always (Nitter is lightweight, 10 tabs is easy to run!) just run the term multiple times, in multiple tabs at once (and can't do it the other way round).

jtagcat avatar Jul 09 '20 20:07 jtagcat

gloschtla is talking about how Nitter constructs search queries from the checked filters/excludes, not the ability to manually use AND/OR. cats "with dogs" OR "sleeping" works as you would expect.

zedeus avatar Jul 09 '20 22:07 zedeus

Solution: https://github.com/zedeus/nitter/issues/217#issuecomment-657185995

zedeus avatar Jan 03 '22 06:01 zedeus