【发布时间】:2015-01-21 23:28:24
【问题描述】:
我正在尝试从here 中提取iframe src:
<div class="video-wrapper">
<iframe src="http://www.youtube.com/embed/6KAG7kltnuE? autohide=1&color=white&fs=1&autoplay=0&iv_load_policy=3&rel=0&modestbranding=1&showinfo=0&hd=1" frameborder="0" width="940" height="526" allowfullscreen></iframe> </div>
我当前的 XPath 已关闭并且是 //div[@class="video-wrapper"]/iframe/[@src]
【问题讨论】:
标签: xml iframe xpath web-scraping