Search progress

This commit is contained in:
Zed
2019-09-17 21:01:44 +02:00
parent f707826241
commit 4c748b61a5
9 changed files with 227 additions and 47 deletions

View File

@@ -4,13 +4,20 @@ import types
const
separators = @["AND", "OR"]
validFilters = @[
validFilters* = @[
"media", "images", "twimg", "videos",
"native_video", "consumer_video", "pro_video",
"links", "news", "quote", "mentions",
"replies", "retweets", "nativeretweets",
"verified", "safe"
]
commonFilters* = @[
"media", "videos", "images", "links", "news", "quote"
]
advancedFilters* = @[
"mentions", "verified", "safe", "twimg", "native_video",
"consumer_video", "pro_video"
]
# Experimental, this might break in the future
# Till then, it results in shorter urls