Local $Url = 'http://www.flvcd.com/parse.php?flag=&format=&kw=http%3A%2F%2Fwww.tudou.com%2Fprograms%2Fview%2FRzVVLjETta8%2F&sbt=%BF%AA%CA%BCGO%21'
Local $oHTTP = ObjCreate("microsoft.xmlhttp")
$oHTTP.Open("get", $Url, False)
$oHTTP.Send()
Local $str = BinaryToString($oHTTP.responseBody)
Local $sR = StringRegExp($str, ':\h*<a href\h*\=\h*"(.+?)".+?copyToClipboard\(.(.+?).\)', 3)
If @Error Then Exit Msgbox(0, 48, 'No~')
Local $link = StringRegExpReplace($sR[0], 'amp;', '')
ClipPut($link)
MsgBox(0, $sR[1], '下载地址:"' & $link & '"' & @LF & '已复制至剪贴板,可自行粘贴到地址栏测试~')
|