
但是我需要一次限制一次下载.
即下一次下载应该只在前一次下载完成后开始.
这是可以使用卷曲吗?或者我应该使用其他任何东西.解决方法
wget(1)默认情况下是连续工作的,并且内置了此选项: -i file --input-file=file Read URLs from a local or external file. If - is specifIEd as file,URLs are read from the standard input. (Use ./- to read from a file literally named -.) If this function is used,no URLs need be present on the command line. If there are URLs both on the command line and in an input file,those on the command lines will be the first ones to be retrIEved. If --force-HTML is not specifIEd,then file should consist of a serIEs of URLs,one per line. However,if you specify --force-HTML,the document will be regarded as HTML. In that case you may have problems with relative links,which you can solve either by adding "<base href="url">" to the documents or by specifying --base=url on the command line. If the file is an external one,the document will be automatically treated as HTML if the Content-Type matches text/HTML. Furthermore,the file's location will be implicitly used as base href if none was specifIEd.总结
以上是内存溢出为你收集整理的使用curl下载文件中列出的网址?全部内容,希望文章能够帮你解决使用curl下载文件中列出的网址?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)