我正在寻找一种从锚标记中提取 URL 的方法,锚标记在 DOM 中呈现像这样。
<a target="_blank" id="Tile_WPQ8_1_3" href="#" onclick="PreventDefaultNavigation(); return false;" hrefaction="https://institutes.kpmg.us/global-energy/webcasts/2020/resilience-in-energy-3.html" clickaction="null"></a>
我想要hrefaction的值,我正在尝试下面的代码 - 这是一个数据抓取
<extract>
<column name2='Url' attr2='href' exact='0' name='Name' attr='text'>
<webctrl tag="a"/>
</column>
</extract>
但它只给了我href值,但正如我们在hrefaction Ant领导中存在的上述模式值中所见,高度赞赏!

