ccloli / E-Hentai-Downloader

Download E-Hentai archive as zip file
GNU General Public License v3.0
1.88k stars 138 forks source link

下载完成后,压缩包内文件损坏,大小只有1KB #158

Closed zhx79513 closed 4 years ago

zhx79513 commented 4 years ago

下载完成后,压缩包内的文件有些只有1KB,而且打开后显示已损坏。

图片

操作系统:

Win10 1909 企业版 64位

浏览器:

Firefox 75.0 64位

插件:

Tampermonkey 4.10.6112

脚本版本:

1.31.8

ccloli commented 4 years ago

Hi,可否上传一个 1KB 的文件副本?有可能是服务器或代理服务器返回了非预期的内容

zhx79513 commented 4 years ago

Hi,可否上传一个 1KB 的文件副本?有可能是服务器或代理服务器返回了非预期的内容


错误文件.zip

ccloli commented 4 years ago

The file does not exit on this server, but has been requested to download.

有点迷惑,看起来是文件不存在,晚上再排查下

------------------ Original ------------------ From: "Bill Zhang"notifications@github.com Date: Tue, Apr 21, 2020 04:19 AM To: "ccloli/E-Hentai-Downloader"E-Hentai-Downloader@noreply.github.com; Cc: "864907600cc">;"Comment"<comment@noreply.github.com; Subject: Re: [ccloli/E-Hentai-Downloader] 下载完成后,压缩包内文件损坏,大小只有1KB (#158)

Hi,可否上传一个 1KB 的文件副本?有可能是服务器或代理服务器返回了非预期的内容

错误文件.zip

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

ccloli commented 4 years ago

image

估计是 H@H 节点的缓存没了,虽然有点奇怪状态码 404 应该不会存储文件的,而且 Content-Type 也不对,需要排查下原因

ccloli commented 4 years ago

已尝试在 v1.31.9 中修复,错误地在内层的 return 后外层接 else if 导致这种特殊情况没走后面的判断