Update find.nim

This commit is contained in:
witer33 2021-10-18 19:15:13 +02:00 committed by GitHub
parent 7dcbe31573
commit da123d6b6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import engine, httpclient, strtabs
var html = Engine(html: newHttpClient().getContent("http://example.com"))
html.run()
var html = Engine()
html.run(newHttpClient().getContent("http://example.com"))
echo html.find("title").getAllText()