Board logo

标题: [网络连接] 【已解决】批处理怎么提取网页源代码 [打印本页]

作者: xyqylong    时间: 2021-12-1 23:13     标题: 【已解决】批处理怎么提取网页源代码

本帖最后由 xyqylong 于 2021-12-8 15:25 编辑

请问如何用批处理提取网页源代码,是否需要第三方命令行工具
作者: Batcher    时间: 2021-12-2 00:03

回复 1# xyqylong


http://bcn.bathome.net/s/tool/index.html?key=wget
  1. wget "https://www.12306.cn" -O "12306.html"
复制代码

作者: Batcher    时间: 2021-12-2 00:05

回复 1# xyqylong


http://bcn.bathome.net/s/tool/index.html?key=curl
  1. curl "http://www.moe.gov.cn" -o "moe.html"
复制代码

作者: xyqylong    时间: 2021-12-2 08:57

回复 3# Batcher


    感谢!




欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2