请教大佬视界里像这种如何提取图片地址

求助
获赞:0    评论:3    查看:530
<a class="video-pic loading"   style="background: url(upload/vod/2020/05/whztur.jpg) no-repeat; background-position:50% 50%; background-size: cover;"

在解析规则里像这样的地址要怎么提取??

回复(3)
  • 咸鱼 回复

    a&&style.js:background.image(/url('(.*)')/)[1]

  • 咸鱼 回复

    a&&style.js:input.match(/url\('(.*)'\)/)[1] 这样看看

  • xx1304 回复

    a&&style

发表话题
  • 积分
    34
  • 注册排名
    1768