test.bat- #&cls&@powershell -c "Get-Content '%~0' | Select-Object -Skip 1 | Out-String | Invoke-Expression" & pause&exit
- $url = 'https://www.kugou.com/song/82t51.html?share=1'
- $whr = New-Object -ComObject 'WinHttp.WinHttpRequest.5.1'
- $whr.Open('GET',$url,$false)
- $whr.Send()
- if($whr.ResponseText -match '(?s)\<div class="displayNone"\>(.*?)\</div\>'){ $lrc = $Matches[1]}
- $lrc
复制代码
|