CMD:将网站保存为Textfile 我该怎么做?
例如来自本网站: http://steamcommunity.com/groups/anomalygroup/memberslistxml/?xml=1
谢谢你的帮助!答案 0 :(得分:1)
第三方命令行工具wget或curl会这样做。
批次:
Set "URL=http://steamcommunity.com/groups/anomalygroup/memberslistxml/?xml=1"
wget.exe "%URL%" -O=MemberList.xml
Powershell(这里wget是Invoke-WebRequest的别名):
$URL = 'http://steamcommunity.com/groups/anomalygroup/memberslistxml/?xml=1'
(wget $URL).content | Out-File MemberList.xml