From ae91663d401f2fe1d30c9fdf3a0116e3b9d1217b Mon Sep 17 00:00:00 2001 From: aaron <462826@qq.com> Date: Mon, 10 Oct 2022 15:17:02 +0800 Subject: [PATCH] update test scripts --- demo/lang/tcl/2_webpage_extract.tl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/lang/tcl/2_webpage_extract.tl b/demo/lang/tcl/2_webpage_extract.tl index bcfdc12a..b242c192 100755 --- a/demo/lang/tcl/2_webpage_extract.tl +++ b/demo/lang/tcl/2_webpage_extract.tl @@ -7,7 +7,7 @@ pid=0 1. Load web page from url http://xxx 2. Retrieve img element zt-logo.png in html -3. Check img exist >> `Apple` +3. Check img exist >> `Bing images` } @@ -16,7 +16,7 @@ package require tls http::register https 443 tls::socket -set url https://www.apple.com +set url https://cn.bing.com/images/trending set http [::http::geturl $url] set html [::http::data $http] -- GitLab