标签:powershell
$ie = new-object -com "InternetExplorer.Application" $ie.navigate("http://www.qiushibaike.com/") $ie.visible = $true sleep -milliseconds 2500 $ID = $ie.Document.getElementById(‘qiushi_tag_96334609‘) $ID1 = $ID.getElementsByTagName(‘div‘) $ID2 = $ID.childNodes | where {$_.className -contains "content"} $ID2.innerText
get_joke_from_qiushibaike_20141213
标签:powershell
原文地址:http://6124856.blog.51cto.com/6114856/1589633