我试图使用wget从文本文件中下载文件列表并将它们保存在一个文件夹中(这里"游戏"是文件夹名称),之前它工作正常但突然间它停止工作表示wget没有从给定列表中下载任何文件。
命令:
wget --no-check-certificate -E -H -k -K -p -e robots=off -Pgame \ -i ./list.txt
list.txt的内容
http://html5.gamedistribution.com/9c9aa954aa8a4b838958d10656677a16/images/menu_parlante-sheet0.png
http://html5.gamedistribution.com/9c9aa954aa8a4b838958d10656677a16/images/btnpausa-sheet0.png
http://html5.gamedistribution.com/9c9aa954aa8a4b838958d10656677a16/images/btnpausa-sheet1.png
http://html5.gamedistribution.com/9c9aa954aa8a4b838958d10656677a16/images/bgscoreui-sheet0.png
http://html5.gamedistribution.com/9c9aa954aa8a4b838958d10656677a16/images/btnback-sheet0.png
http://html5.gamedistribution.com/9c9aa954aa8a4b838958d10656677a16/images/btnback-sheet1.png
http://html5.gamedistribution.com/9c9aa954aa8a4b838958d10656677a16/images/bgcredits-sheet0.png
http://html5.gamedistribution.com/9c9aa954aa8a4b838958d10656677a16/images/titulo-sheet0.png
如果列表只包含1行/文件地址/路径,那么wget下载文件如果它由多行网址组成,那么它给出错误"发送http请求,等待响应.... 400个错误请求"
答案 0 :(得分:0)
这对我有效(没有反斜杠),前四个链接返回404响应:
wget --no-check-certificate -E -H -k -K -p -e robots=off -Pgame -i ./list.txt