vverr
V2EX  ›  问与答

playwright 咋获取标签里面的地址链接呢

  •  
  •   vverr · Feb 22, 2022 · 842 views
    This topic created in 1604 days ago, the information mentioned may be changed or developed.
    items = h_items.query_selector_all('.title')
    页面上很多 class="title"的,我想获取 class="title" 下面 div 里面 a 标签的 href 值,该怎么操作呢?看了官方文档,都是英文的翻译了也没找到。。大神们帮帮忙~~~
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3836 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 05:05 · PVG 13:05 · LAX 22:05 · JFK 01:05
    ♥ Do have faith in what you're doing.