Coder Social home page Coder Social logo

Comments (5)

theFreeWall avatar theFreeWall commented on July 23, 2024

#280 (comment)
一般在尝试下载多次失败重试时,脚本会尝试重新获取图片地址,此时 EH 有可能会返回其他服务器的地址。

实测使用网页端看图时会自动重新获取图片地址,但是脚本下载会一直失败

from e-hentai-downloader.

theFreeWall avatar theFreeWall commented on July 23, 2024

以及下载较大的图片时会下载错误
因为以上问题,所以我直接尝试用外网ip下载避免解析到大陆地区的节点
但是又遇到一个问题:大概下载一些较大的图片时会下载失败,大约超过10mb的图片,下载大概8~9秒后会自动直接失败("在Abort downloading current image after 180 s..."设置无效),然后重新下载,继续下载几秒后失败以此往复,尝试这样下载几十次都不会成功 (一些比较小的图片不会失败的原因应该是很快就下载好了,不像这些较大的图片需要等待几秒)
但是直接打开控制台中log的原图地址是可以成功打开并下载保存的

from e-hentai-downloader.

ccloli avatar ccloli commented on July 23, 2024

但是用脚本下载会一直尝试从被屏蔽的域名ip下载导致一直下载失败,无法自动跳转到其他域名下载

这是默认的行为,重试 3 次才会标记为失败,来减少额外的 viewing points 或 credits 消耗。标记为失败时,状态会显示为红色,待其他图片的请求均结束后,脚本会询问是否需要重试,此时才会重新请求新的资源地址。

因为以上问题,所以我直接尝试用外网ip下载避免解析到大陆地区的节点

你可以尝试在 EH 的设置中将 Image Load Settings 的 Browsing Country 改为其他地区。

但是又遇到一个问题:大概下载一些较大的图片时会下载失败,大约超过10mb的图片,下载大概8~9秒后会自动直接失败

请确认 Abort downloading current image if speed is less than 是保持禁用状态。若已经关闭了该功能,由于该错误是浏览器直接抛出的,脚本没有比较好的解决方法,可以考虑换用 gallery-dl 等工具来下载,并实现断点续传。

from e-hentai-downloader.

theFreeWall avatar theFreeWall commented on July 23, 2024

1.我就是多次重试下载还是解析的大陆的ip(询问重试后依然是旧的资源地址)才无法下载的.....
2.Abort downloading current image if speed is less than 第一时间就设置了

不过通过"Image Load Settings 的 Browsing Country 改为其他地区"成功解决了问题,之前一直不知道e站有这个功能,一直尝试修改脚本的设置代码都没能解决,现在已经完美解决了

谢谢您的解答和帮助,祝你天天开心~

from e-hentai-downloader.

ccloli avatar ccloli commented on July 23, 2024

我就是多次重试下载还是解析的大陆的ip(询问重试后依然是旧的资源地址)才无法下载的.....

那多半是因为这个文件在 H@H 的大陆区域可能只有这个节点分发了, 或者可能是原始图片地址不会读取 nl 参数来绕过 H@H 了

确认了下,nl 参数 EH 还是会读取的,也就是说重试时文件肯定来自 EH 的源服务器,这只能解释为无法直连 EH 的原始服务器了

from e-hentai-downloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.