标签: excel-vba vba excel
我通常使用以下代码来抓取网站。
Dim html As New HTMLDocument html.body.innerHTML = HttpReq.responseText
使用此代码,“html.getElementsByTagName(”title“)(0).innerText”返回空字符串。有没有办法使用DOM获取页面标题?
提前致谢