From da123d6b6edbdc2ca1389cc0c30bf35734260548 Mon Sep 17 00:00:00 2001 From: witer33 Date: Mon, 18 Oct 2021 19:15:13 +0200 Subject: [PATCH] Update find.nim --- examples/find.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()