E-Hentai Downloader

Download E-Hentai archive as zip file

< Feedback on E-Hentai Downloader

مراجعة: OK - script works, but has bugs

§
Posted: 07-11-2021

在safari中使用時一直顯示Failed! (Unknown)

§
Posted: 08-11-2021

剛在同樣環境下測試了chrome,完全沒有問題🧐

864907600ccمؤلف
§
Posted: 08-11-2021
Edited: 08-11-2021

由於沒有 macOS 設備,所以暫時無法確認問題,還請提供詳細日誌以便排查。

請參考 Apple 官方指南開啟開發者工具:https://support.apple.com/zh-tw/guide/safari/sfri20948/mac ,然後切換至 Console 頁簽,刷新頁面並重新下載,在報錯時將 Console 內輸出的日誌複製粘貼至此(建議在日誌開頭加上 <pre> 標識,並在日誌末尾加上 </pre> 以優化排布)。

§
Posted: 08-11-2021

我超,一覺醒來突然能用了,我佛ㄌ

§
Posted: 10-11-2021

我超 突然又不能用了

§
Posted: 10-11-2021

由於沒有 macOS 設備,所以暫時無法確認問題,還請提供詳細日誌以便排查。

請參考 Apple 官方指南開啟開發者工具:https://support.apple.com/zh-tw/guide/safari/sfri20948/mac ,然後切換至 Console 頁簽,刷新頁面並重新下載,在報錯時將 Console 內輸出的日誌複製粘貼至此(建議在日誌開頭加上 <pre> 標識,並在日誌末尾加上 </pre> 以優化排布)。

請問這是日誌嗎?

[Error] [EHD] Index > – 22 – " | RealIndex >" – 22 – " | Name >" – "01cyclone_fp4dl021.jpg" – " | RetryCount >" – 1 – " | DownloadedCount >" – 0 – " | FetchCount >" – 5 – " | FailedCount >" – 20
	error
	failedFetching (userscript.html:12810)
	(匿名函數) (工序指令元件1:4:86)
	(匿名函數) (匿名的工序指令1(第27:362行))
	(匿名函數) (工序指令元件1:4:86)
	i (匿名的工序指令1(第4:167行))
	(匿名函數) (工序指令元件1:13:101)
	v (工序指令元件1:13:119)
	dispatchEvent
	(匿名函數) (content.js:92:91)
	s (content.js:92:98)
	(匿名函數) (content.js:93:116)
[Error] TypeError: The provided value is non-finite
	updateProgress (userscript.html:12794)
	onprogress (userscript.html:13037)
	(匿名函數) (工序指令元件1:4:86)
	(匿名函數) (匿名的工序指令1(第27:362行))
	(匿名函數) (工序指令元件1:4:86)
	i (匿名的工序指令1(第4:167行))
	(匿名函數) (工序指令元件1:13:101)
	v (工序指令元件1:13:119)
	dispatchEvent
	(匿名函數) (content.js:92:91)
	s (content.js:92:98)
	(匿名函數) (content.js:93:116)
[Log] [EHD] #21: Unknown Error (Please send feedback)
[Log] [EHD] #21: RealIndex > – 21 – " | ReadyState >" – 4 – " | Status >" – 200 – " | StatusText >" (5)
"
Request URL >"
"https://exhentai.org/fullimg.php?gid=2057104&page=21&key=qt2j7dh9qri"
"
Final URL >"
"https://exhentai.org/fullimg.php?gid=2057104&page=21&key=qt2j7dh9qri"
"
ResposeHeaders >age:0
content-length:0
via:1.1 varnish-v4
strict-transport-security:max-age=31536000; preload;
x-varnish:208022826
accept-ranges:bytes
server:Apache
date:Wed, 10 Nov 2021 06:12:16 GMT
content-type:text/html; charset=UTF-8"
[Log] TypeError: undefined is not an object (evaluating 'response.byteLength')
[Error] [EHD] Index > – 21 – " | RealIndex >" – 21 – " | Name >" – "01cyclone_fp4dl020.jpg" – " | RetryCount >" – 1 – " | DownloadedCount >" – 0 – " | FetchCount >" – 5 – " | FailedCount >" – 20
	error
	failedFetching (userscript.html:12810)
	(匿名函數) (工序指令元件1:4:86)
	(匿名函數) (匿名的工序指令1(第27:362行))
	(匿名函數) (工序指令元件1:4:86)
	i (匿名的工序指令1(第4:167行))
	(匿名函數) (工序指令元件1:13:101)
	v (工序指令元件1:13:119)
	dispatchEvent
	(匿名函數) (content.js:92:91)
	s (content.js:92:98)
	(匿名函數) (content.js:93:116)
[Error] TypeError: The provided value is non-finite
	updateProgress (userscript.html:12794)
	onprogress (userscript.html:13037)
	(匿名函數) (工序指令元件1:4:86)
	(匿名函數) (匿名的工序指令1(第27:362行))
	(匿名函數) (工序指令元件1:4:86)
	i (匿名的工序指令1(第4:167行))
	(匿名函數) (工序指令元件1:13:101)
	v (工序指令元件1:13:119)
	dispatchEvent
	(匿名函數) (content.js:92:91)
	s (content.js:92:98)
	(匿名函數) (content.js:93:116)
[Log] [EHD] #23: Unknown Error (Please send feedback)
[Log] [EHD] #23: RealIndex > – 23 – " | ReadyState >" – 4 – " | Status >" – 200 – " | StatusText >" (5)
"
Request URL >"
"https://exhentai.org/fullimg.php?gid=2057104&page=23&key=cvk9gh69qri"
"
Final URL >"
"https://exhentai.org/fullimg.php?gid=2057104&page=23&key=cvk9gh69qri"
"
ResposeHeaders >x-varnish:208189002
content-length:0
age:0
content-type:text/html; charset=UTF-8
strict-transport-security:max-age=31536000; preload;
date:Wed, 10 Nov 2021 06:12:16 GMT
server:Apache
accept-ranges:bytes
via:1.1 varnish-v4"
[Log] TypeError: undefined is not an object (evaluating 'response.byteLength')
onload
(匿名函數) — c5e61de480:4:86
(匿名函數)
(匿名函數) — c5e61de480:4:86
i
(匿名函數) — c5e61de480:13:101
v — c5e61de480:13:119
dispatchEvent
(匿名函數) — content.js:92:91
s — content.js:92:98
(匿名函數) — content.js:93:116

[Error] [EHD] Index > – 23 – " | RealIndex >" – 23 – " | Name >" – "01cyclone_fp4dl022.jpg" – " | RetryCount >" – 1 – " | DownloadedCount >" – 0 – " | FetchCount >" – 5 – " | FailedCount >" – 20
	error
	failedFetching (userscript.html:12810)
	(匿名函數) (工序指令元件1:4:86)
	(匿名函數) (匿名的工序指令1(第27:362行))
	(匿名函數) (工序指令元件1:4:86)
	i (匿名的工序指令1(第4:167行))
	(匿名函數) (工序指令元件1:13:101)
	v (工序指令元件1:13:119)
	dispatchEvent
	(匿名函數) (content.js:92:91)
	s (content.js:92:98)
	(匿名函數) (content.js:93:116)
[Error] TypeError: The provided value is non-finite
	updateProgress (userscript.html:12794)
	onprogress (userscript.html:13037)
	(匿名函數) (工序指令元件1:4:86)
	(匿名函數) (匿名的工序指令1(第27:362行))
	(匿名函數) (工序指令元件1:4:86)
	i (匿名的工序指令1(第4:167行))
	(匿名函數) (工序指令元件1:13:101)
	v (工序指令元件1:13:119)
	dispatchEvent
	(匿名函數) (content.js:92:91)
	s (content.js:92:98)
	(匿名函數) (content.js:93:116)
[Log] [EHD] #24: Unknown Error (Please send feedback)
[Log] [EHD] #24: RealIndex > – 24 – " | ReadyState >" – 4 – " | Status >" – 200 – " | StatusText >" (5)
"
Request URL >"
"https://exhentai.org/fullimg.php?gid=2057104&page=24&key=5ig4jsk9qri"
"
Final URL >"
"https://exhentai.org/fullimg.php?gid=2057104&page=24&key=5ig4jsk9qri"
"
ResposeHeaders >date:Wed, 10 Nov 2021 06:12:16 GMT
content-length:0
strict-transport-security:max-age=31536000; preload;
content-type:text/html; charset=UTF-8
server:Apache
age:0
x-varnish:207210734
via:1.1 varnish-v4
accept-ranges:bytes"
[Log] TypeError: undefined is not an object (evaluating 'response.byteLength')
[Error] [EHD] Index > – 24 – " | RealIndex >" – 24 – " | Name >" – "01cyclone_fp4dl023.jpg" – " | RetryCount >" – 1 – " | DownloadedCount >" – 0 – " | FetchCount >" – 5 – " | FailedCount >" – 20
	error
	failedFetching (userscript.html:12810)
	(匿名函數) (工序指令元件1:4:86)
	(匿名函數) (匿名的工序指令1(第27:362行))
	(匿名函數) (工序指令元件1:4:86)
	i (匿名的工序指令1(第4:167行))
	(匿名函數) (工序指令元件1:13:101)
	v (工序指令元件1:13:119)
	dispatchEvent
	(匿名函數) (content.js:92:91)
	s (content.js:92:98)
	(匿名函數) (content.js:93:116)
[Log] [EHD] Request Image Limits From e-hentai.org
864907600ccمؤلف
§
Posted: 13-11-2021

抱歉由於最近工作比較忙,因此沒有來得及看。

從日誌內容上看,應該是 Tampermonkey 在 Safari 上表現不一致才拋出的錯誤,例如在 Safari 上沒有像其他瀏覽器那樣實例化 response,以及展示進度時出現了 NaN 的情況,1.33.4 對上述情況做了兼容。

另外從返回結果上看,這個錯誤的真正根因是伺服器返回的數據為空,這個問題有可能是 cookie 不同步導致的,請嘗試開啟主動傳遞 cookie,參見 Settings -> Advanced -> Pass cookies manually when downloading images

Post reply

تسجيل الدخول إلى مرحلة ما بعد الرد.