Wget:http 请求已发送,正在等待响应.... 400 错误请求

问题描述 投票:0回答:1

我试图使用 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 下载该文件(如果该文件由多行 url 组成),则其给出的错误为 “http 请求已发送,正在等待响应.... 400 错误请求”

wget bad-request
1个回答
0
投票

这对我有用(没有反斜杠),但前四个链接返回 404 响应:

wget --no-check-certificate -E -H -k -K -p -e robots=off -Pgame  -i ./list.txt
© www.soinside.com 2019 - 2024. All rights reserved.