本帖最后由 WHY 于 2022-11-30 21:49 编辑
- @echo off
- set "url=https://site.ip138.com/183.131.207.66/"
- PowerShell -NoProfile -C "$str=(New-Object System.Net.WebClient).DownLoadString('%url%'); [regex]::Matches($str, '</span><a href=\"/([^^/]+)/\"') | forEach{ $_.Groups[1].Value }" > Domain.txt
- pause
复制代码
- @echo off
- set "url=https://site.ip138.com/183.131.207.66/"
- PowerShell -NoProfile -C "$str=(curl -UseBasicParsing -URI '%url%').Content; [regex]::Matches($str, '</span><a href=\"/([^^/]+)/\"') | forEach{ $_.Groups[1].Value }" > Domain.txt
- pause
复制代码
|