mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Simplify query parameters
This commit is contained in:
parent
9e3138e51b
commit
ac9fa2ce1d
2 changed files with 4 additions and 2 deletions
|
|
@ -93,7 +93,7 @@ proc genQueryUrl*(query: Query): string =
|
|||
params.add "f-" & f & "=on"
|
||||
for e in query.excludes:
|
||||
params.add "e-" & e & "=on"
|
||||
for i in query.includes:
|
||||
for i in query.includes.filterIt(it != "nativeretweets"):
|
||||
params.add "i-" & i & "=on"
|
||||
|
||||
if query.since.len > 0:
|
||||
|
|
|
|||
Loading…
Reference in a new issue