mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Minor search fixes
This commit is contained in:
parent
02e7b1dcab
commit
28a1544cc0
3 changed files with 13 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import strutils, strformat, sequtils, tables
|
||||
import strutils, strformat, sequtils, tables, uri
|
||||
|
||||
import types
|
||||
|
||||
|
|
@ -97,7 +97,7 @@ proc genQueryUrl*(query: Query): string =
|
|||
|
||||
var params = @[&"kind={query.kind}"]
|
||||
if query.text.len > 0:
|
||||
params.add "text=" & query.text
|
||||
params.add "text=" & encodeUrl(query.text)
|
||||
for f in query.filters:
|
||||
params.add "f-" & f & "=on"
|
||||
for e in query.excludes:
|
||||
|
|
|
|||
Loading…
Reference in a new issue