我试图从带有视频的网页上抓取数据。我试图刮的视频看起来像......
<embed type="application/x-shockwave-flash"
src="/player.swf" width="560" height="440"
style="undefined" id="mediaplayer" name="mediaplayer"
quality="high" allowfullscreen="true" wmode="opaque"
allowscriptaccess="always" bgcolor="#000000"
flashvars="width=560&height=440&autostart=true&fullscreen=true&file=FILEHERE">
当我刮掉包含嵌入的div时,我得到的是......
<div id="player" >
<font size="2"><u><b><a target="_self" class="b" href="http://get.adobe.com/flashplayer/">
ATTENTION:<br />This video will not play. You currently do not have Adobe Flash installed on this computer. Please click here to download it (it's free!)
</a></b></u></font>
</div>
根据收到的内容,我的域名没有安装Flash。我应该如何刮取网页以正确抓取嵌入元素?