我正在尝试使用wget
. 相关的 URL 存储在文件中url.txt
。使用该命令时,wget --content-disposition -i url.txt
它找不到 .txt 文件。
我必须在哪里存储 url.txt 文件?
你应该给你的网址 http://
你url.txt
应该有
http://www.google.com
http://www.yahoo.com
Run Code Online (Sandbox Code Playgroud)
如果您没有包含协议,您将收到说明以下内容的消息:
$ wget --content-disposition -i url.txt
url.txt: Invalid URL www.google.com: Scheme missing
url.txt: Invalid URL www.yahoo.com: Scheme missing
Run Code Online (Sandbox Code Playgroud)