Tag: scraping innerhtml

如何在VBA中进行Web报废时在<b>标签内获取数据

我正试图从这个网站上取消数据。 我写了打开这个网站的代码,然后search一个值。 点击search结果并打开最后一页,我必须从中select详细信息。 我需要select在红色提到的标签的细节 这是我的代码,打开所需的页面。 我已经使用Link.click打开所需的页面。 之后,我需要获取图片中提到的细节。 好心提醒。 Sub hullByAshish() Dim html, html1 As HTMLDocument Dim ElementCol, ElementCol1 As Object Dim Link As Object Dim appIE As Object Dim a As String Dim i As Long Dim objElement As Object Dim objCollection As Object Set appIE = CreateObject("internetexplorer.application") a = "PONTOVREMON" With appIE .Navigate "https://www.marinetraffic.com/en/ais/index/search/all/keyword:" […]