这是代码:
<div style="" class="film">
<div class="film_poster">
<!--<div class="like_save">-->
<div onclick="return login_please()" mov_id="12334" class="like_film_pub ">
<span class="icon_like_film_pub"></span>
<p><span>Like</span>
</p>
</div>
<a class="tooltip1" href="link" style="outline: 1px solid blue;">
<img width="134" height="193" alt="The Raid 2: Berandal" src="link">
</a>
</div>
<a title="The Raid 2: Berandal (2014) " href="link">
<figcaption>The Raid 2: Berandal (2014)</figcaption>
</a>
</div>
您能告诉我如何使用imacros从上面的代码中获取文本。在上面的例子中,它将提取&#34; The Raid 2:Berandal#34; 。谢谢!
答案 0 :(得分:2)
TAG POS=1 TYPE=A ATTR=HREF:link EXTRACT=TXT
这应该有用。