mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Add experimental infinite scroll
This commit is contained in:
parent
2e97c1c98f
commit
2c6d2897ae
6 changed files with 82 additions and 11 deletions
|
|
@ -41,7 +41,7 @@ proc cleanFilename*(filename: string): string =
|
|||
result &= ".png"
|
||||
|
||||
proc filterParams*(params: Table): seq[(string, string)] =
|
||||
let filter = ["name", "id", "list", "referer"]
|
||||
let filter = ["name", "id", "list", "referer", "scroll"]
|
||||
toSeq(params.pairs()).filterIt(it[0] notin filter and it[1].len > 0)
|
||||
|
||||
proc isTwitterUrl*(url: string): bool =
|
||||
|
|
|
|||
Loading…
Reference in a new issue