Use time filters instead of page switching

This change allows us to avoid the bug of only being able to
access up to 10000 tournaments before start.gg's API throws
an error.
This commit is contained in:
Kiana Sheibani 2023-12-01 18:32:55 -05:00
parent 504184e69b
commit b3ff055fd3
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
5 changed files with 102 additions and 86 deletions

10
Cargo.lock generated
View file

@ -626,6 +626,15 @@ version = "2.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6"
[[package]]
name = "itertools"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25db6b064527c5d482d0423354fcd07a89a2dfe07b67892e62411946db7f07b0"
dependencies = [
"either",
]
[[package]]
name = "itoa"
version = "1.0.9"
@ -1149,6 +1158,7 @@ dependencies = [
"cynic",
"cynic-codegen",
"dirs",
"itertools",
"reqwest",
"schema",
"serde",