From 572c804a97d64dbcc6f770f58273d109ef6dbd90 Mon Sep 17 00:00:00 2001 From: witer33 Date: Mon, 18 Oct 2021 19:15:27 +0200 Subject: [PATCH] Update alltags.nim --- examples/alltags.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/alltags.nim b/examples/alltags.nim index 4926c85..8312b9c 100644 --- a/examples/alltags.nim +++ b/examples/alltags.nim @@ -1,6 +1,6 @@ import engine, httpclient -var html = Engine(html: newHttpClient().getContent("http://example.com")) -html.run() +var html = Engine() +html.run(newHttpClient().getContent("http://example.com")) echo len(html.findAll(""))