omit channels from results
This commit is contained in:
parent
0c53b754f3
commit
2ce21590e0
3 changed files with 2 additions and 2 deletions
BIN
Pimvidious
BIN
Pimvidious
Binary file not shown.
|
@ -1,6 +1,6 @@
|
|||
# Package
|
||||
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
author = "Paul Wilde"
|
||||
description = "Porninvidious re-made in Nim"
|
||||
license = "BSD-3-Clause"
|
||||
|
|
|
@ -28,7 +28,7 @@ proc request(uri: string): string =
|
|||
client.close()
|
||||
|
||||
proc parseUrls(content: string): seq[string] =
|
||||
let url_re = re"""<div class="thumb"><a href=\"(.*)\">"""
|
||||
let url_re = re"""<div class="thumb"><a href=\"/video(.*)\">"""
|
||||
let urls = collect:
|
||||
for url in content.findAll(url_re):
|
||||
url.split("\"")[3]
|
||||
|
|
Loading…
Reference in a new issue