diff --git a/examples/find.nim b/examples/find.nim index f3dbd0f..0e9491b 100644 --- a/examples/find.nim +++ b/examples/find.nim @@ -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()