Some accounts will return random tweets when searching with a list of users
Despite not searching for any of these accounts they still appear mixed in with the rest of the tweets of who I did search.
Out of the 50 accounts I have 7 of them were like this, they'll return these "garbage" tweets every time if it's the only account in sessions.jsonl. When I logged into one of them I didn't see anything that stood out as weird.
Hm, that is quite weird. Does it happen reliably with those accounts?
The tweets are real at least:
Yeah these random tweets will be there every single time if it's the only real Twitter account in sessions.jsonl. Otherwise its just luck of the draw if Nitter uses a "normal" account or one of these weird ones.
Can you provide a raw JSON example? Just add echo result after this line: https://github.com/zedeus/nitter/blob/824a7e346a730a3eeb87a945e8268b3e40867f0d/src/apiutils.nim#L96
Here you go! Raw json.txt
I'm not really seeing anything out of the ordinary, besides the actual tweets. Does it happen with those accounts on other pages, or with other search queries?
Nope, only when searching with multiple users. Interestingly it looks like I have to be searching at least three users before the random tweets start appearing though.
If I only search two users then everything seems fine.
This is what Nitter generates as the search query. Try it as a normal search, then try logging into the account and doing a regular search via the official client and see what happens:
from:NASA OR from:esa OR from:NASAPersevere filter:self_threads OR -filter:replies include:nativeretweets
Doing that search in Nitter produces the garbage tweets, doing it signed into the account on Twitter does not.
The account I've been testing with has suddenly stopped having this issue, the others still do it though.
Edit: I lied, it's still doing it. However it has far less garbage tweets than the other accounts.