diff --git a/src/genpage.nim b/src/genpage.nim index 03a7b6a..2c54a00 100644 --- a/src/genpage.nim +++ b/src/genpage.nim @@ -21,6 +21,7 @@ proc cacheResources(): Table[string, string] = return res const RESOURCES*: Table[string, string] = cacheResources() +const XV = "https://www.xvideos.com" proc request(uri: string): string = var client = newHttpClient() @@ -168,7 +169,6 @@ proc compileRSSPage(content: string, search_query: string = ""): string = rss &= RESOURCES["rss_end"] return rss -const XV = "https://www.xvideos.com" proc findSearchQuery(query: string): string = var search_query: string let search = parseUri(query)