mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
Add list support
This commit is contained in:
parent
d1fbcef64d
commit
9e3138e51b
25 changed files with 224 additions and 39 deletions
|
|
@ -58,7 +58,7 @@ proc genQueryParam*(query: Query): string =
|
|||
var filters: seq[string]
|
||||
var param: string
|
||||
|
||||
if query.kind == users:
|
||||
if query.kind == userSearch:
|
||||
return query.text
|
||||
|
||||
for i, user in query.fromUser:
|
||||
|
|
@ -84,7 +84,7 @@ proc genQueryParam*(query: Query): string =
|
|||
result &= " " & query.text
|
||||
|
||||
proc genQueryUrl*(query: Query): string =
|
||||
if query.kind notin {custom, users}: return
|
||||
if query.kind notin {custom, userSearch}: return
|
||||
|
||||
var params = @[&"kind={query.kind}"]
|
||||
if query.text.len > 0:
|
||||
|
|
|
|||
Loading…
Reference in a new issue