【问题标题】:How to extract text by using imacros?如何使用 imacros 提取文本?
【发布时间】:2014-06-13 11:58:44
【问题描述】:

这是代码:

<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 从上面的代码中获取文本吗?在上面的例子中,它将提取 “The Raid 2: Berandal”。谢谢!

【问题讨论】:

    标签: html csv extract imacros


    【解决方案1】:
    TAG POS=1 TYPE=A ATTR=HREF:link EXTRACT=TXT
    

    这应该可行。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-08-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多