926| 7
|
lisp如何获取网页中的文字内容 |
5明经币
最佳答案(defun try-get-url(url / ob html)
(setq ob (vlax-create-object "Msxml2.XMLHTTP"))
(vlax-invoke-method ob "open" "get" url "false")
(vlax-invoke-method ob 'setRequestHeader "If-Modified-Since" "q");强制刷新
(if (vl-catch-all-error-p (vl-catch-all-apply 'vlax-invoke-method (list ob "send")))
(progn
(setq html nil);无网络连 ...
| ||
发表于 2023-10-18 14:21:24
|
显示全部楼层
| ||
| ||
发表于 2023-11-23 14:43:35
|
显示全部楼层
| ||
| ||
| ||
发表于 2023-12-2 08:32:11
|
显示全部楼层
| ||
| |