E-Hentai Downloader

Download E-Hentai archive as zip file

These are versions of this script where the code was updated. Show all versions.

  • v1.18.4 2015-10-21 Synced from GitHub - Fixed #11 (Download status was not updated)
  • v1.18.3 2015-10-21 Synced from GitHub - 修复下载成功判断错误数据的处理逻辑,尝试性允许当超出下载限制后用户可重设限制并继续下载 Fixed logic bug of checking downloaded content, tried supporting to reset image viewing limits and continue downloading when reached limits
  • v1.18.2 2015-09-29 Fixed GitHub issue #10 (cannot download 200+MB archive in Firefox due to logical bug, thanks to typhoon71)
  • v1.18.1 2015-09-27 Fixed #9 (action set is showed in the bottom of page if user has bought Ads-Be-Gone Hath Perk or using another script to remove ads, thanks to iShyboy)
  • v1.18 2015-09-21 Imported from URL
  • v1.17.4 2015-08-30 removed Violentmonkey prefix (not sure why these GM_* APIs are working now)
  • v1.17.3 2015-08-30 fixed custom scriptHandler of Violentmonkey
  • v1.17.2 2015-08-29 Supported ViolentMonkey (for Opera 15+ / Maxthon), removed IE support, and fixed GitHub issue #7 again
  • v1.17.1 2015-08-29 Fixed GitHub issue #7 (Not shown in Firefox), Thanks to GitHub@iShyboy
  • v1.17 2015-08-29 生成 zip 文件后显示 blob 下载链接,丢弃返回的 Content-Type 不是 image/* 的数据,修复未登录用户无法获取图片地址的问题,修复可能误阻止 Tampermonkey 用户的问题 注意:由于 Dolphin Browser 不支持保存 blob 链接,故此脚本可能无法在 Tampermonkey for Dolphin 上使用 Show blob download link after generating zip file, skip response data whose Content-Type is not image/*, fixed can`t get image`s URL if not logged in, fixed block Tampermonkey user probably NOTICE: Because Dolphin Browser doesn`t support blob link, this script cannot run in Tampermonkey for Dolphin
  • v1.16.1 2015-08-28 对不支持脚本的 GreaseMonkey 版本(3.2beta1及之前版本)进行提醒并终止运行(由于 GM 本身的问题此 bug 可能无法修复),修复在指定需下载页码并进行下载后删除页码并重新下载时仍只下载之前的页码的问题 Show warning and stop running script when GreaseMonkey version is and older than 3.2beta1 (because this bug is caused by GM so it probably cannot be fixed), fixed after defined pages range and downloaded archive, clear pages range and re-download causes download pages as before.
  • v1.16 2015-08-28 添加下载画集指定页面功能(Thanks to GitHub@JingJang, GitHub@Boxmanbr and GitHub@iShyboy, see GitHub issue #5),可在设置内指定当下载指定页面且启用编号图片功能时使用原始页码进行编号,将操作框移至画集介绍框下方,当重复执行下载时弹出确认提醒(同时修复重复执行下载时重复获取图片的 bug,Thanks to GitHub@iShyboy, see GitHub issue #5) Allow download specified pages of archive (Thanks to GitHub@JingJang, GitHub@Boxmanbr and GitHub@iShyboy, see GitHub issue #5), and you can number images with their original page numbers on settings if you set pages range, moved action box after information box, confi
  • v1.15.3 2015-08-23 在下载框中添加编号图片的临时复选框(光标移至 Download Archive 上可见,Thanks to GitHub@JingJang, see GitHub issue #4),修复由于图片不存在或未及时下载导致下载图片错误的问题(Thanks to GitHub@Boxmanbr, see GitHub issue #6) Added checkbox to allow number images temporarily (move the mouse over "Download Archive" to show, thanks to GitHub@JingJang, see GitHub issue #4), fixed download wrong images if images is not exist on server or not download them in time (Thanks to GitHub@Boxmanbr, see GitHub issue #6)
  • v1.15.2 2015-08-20 修复重试下载时只获取且循环获取第一个失败项的图片地址的问题 Fixed the bug of only and loop retrying the first failed image's URL when retrying all failed images
  • v1.15.1 2015-08-19 fixed _index is not defined
  • v1.15 2015-08-19 下载状态使用不同颜色字体进行区分,获取图片 URL 超时 30 秒强制终止并重试,对画集文件大小大于主流浏览器最小限定大小(Chrome, 500MiB)时确认是否继续下载,修复下载失败并全部重试时出现仅重试下载一个文件的问题,修复下载失败并全部重试下载完成后不能生成 zip 文件的问题,修复单线程下载下载状态显示错误及保存 zip 文件后仍阻止关闭当前页面的问题 Colored download status, fetching image`s URL will be abort and retry after 30 seconds, confirm downloading if archive is too large (500MiB), fixed the bug of only downloading one files when failed downloading, fixed the bug of not generating zip file after failed downloading and retrying them, fixed downloading s
  • v1.14.1 2015-08-17 修复填写文件夹名称而未填写 zip 文件名时无法下载的问题(1.9+) Fixed doesn`t download when folder name is set while zip file name doesn`t be set
  • v1.14 2015-08-16 添加支持 r.e-hentai.org,添加过滤文件名中的非法字符,修复图片地址为原始图片时仍尝试获取新的图片地址的问题,修复图片地址为原始图片时不记录最终的图片地址的问题,修复可能出现的文件名大小写不同而导致文件相互覆盖的问题 Support r.e-hentai.org, auto replace reserved chars of file name, fixed the bug of refetching image's URL even thought it is original image, fixed the bug of not recording original image's final URL, fixed overwriting files if their names are just different at letter casing
  • v1.13 2015-08-16 使用新的下载进度显示方式(顺带修复无法下载的问题 (thanks to satan12w@BaiduTieba & balonballot@GitHub, see GitHub issue #3 )),修改输出日志 info.txt 内容格式,修复文件扩展名不正确的问题 (thanks to JingJang@GitHub , see GitHub issue #2 ),默认超时由不设置超时改为 300 秒,尝试性兼容旧版本 GreaseMonkey New way to show download progress (also fixed the bug of stucking fetching by chance, thanks to satan12w@BaiduTieba & balonballot@GitHub, see GitHub issue #3 ), make output log (info.txt) more clear & useful, fixed wrong file extension (thanks to JingJang@GitHub, see Git
  • v1.12.1 2015-08-15 修复编号图片的默认分隔符不恰当导致文件无法在 Windows 资源管理器内显示的问题(现默认分隔符为 :)
  • v1.12 2015-08-15 允许在图片文件名前添加编号(Thanks to JingJang@GitHub , see GitHub issue #1 ),*允许强制下载压缩后图片(而不是原始图片),*允许在下载失败后不获取新的图片地址(但这可能导致始终下载失败),*允许在获取新的图片地址时不携带 nl 参数(但这可能导致无法获取新的图片地址),*在下载原始图片失败后会访问图片的最终 URL 进行下载(而不是 302 跳转页),在日志中添加 Uploader Comment,修改执行操作按钮样式(Thanks to JingJang@GitHub , see GitHub issue #1 ),修复初次使用用户默认多线程下载存在多次下载相同图片的 bug,尝试性修复触发多次下载的 bug 【注有 * 项的功能的添加或变动主要与 E-Hentai 的 Image Limits 规则有关,如欲了解更多请参阅 https://github.com/ccloli/E-Hentai-Downloader/wiki/E%E2%88%92Hentai-Image-Viewing-Limits (可能不完全正确)】
  • v1.11 2015-08-07 生成的 zip 文件可不包含文件夹(文件夹名称需设置为 "/",感谢 Tieba@世界刷新代码 的建议),在浏览器控制台输出更详细的日志内容(即以 "[EHD]" 开头的控制台日志),方便调试与反馈 bug,获取图片请求 Header 携带 Referer 以降低出现 403 Access Denied 的概率,修复文件名与获取的 URL 网址出现可能造成干扰的 HTML 转义字符的问题(可能进一步解决服务器 IP 地址为 37.48.81.80 与 37.48.81.90 返回 403 Access Denied 的问题),修改未登录用户获取图片地址的匹配方式,修复未登录用户可能无法获取图片地址的问题,更新 FileSaver.js 到最新版本(1.1.20150716)
  • v1.10 2015-08-05 重试获取图片地址时添加 nl 参数以尝试获取其他节点图片地址
  • v1.9 2015-07-21 添加自定义重试次数,当达到重复次数限制后不直接再次获取图片,而是重新抓取图片地址后再获取图片(感谢 p*********** 的提醒 & 催促,之前各种懒所以没有做 _(:3),修复部分情况下未登录用户无法抓取缩略图片的问题(thanks to 8***********),修复出现重复文件名时会出现文件相互覆盖的情况(thanks to p***********),修复修改设置后立即点击下载时文件名与目录名未更新的问题,修复点击下载或设置后页面返回顶端以及地址后出现 # 号的问题,添加 supportURL(指向 GitHub Issues)
  • v1.8.2 2015-07-18 修复在 1.8 版本默认开启多线程下载时大部分情况下默认线程数为 1 而不是 5 的问题(thanks to 8***********)
  • v1.8.1 2015-07-16 修复文件名与目录名输出为默认值的 bug
  • v1.8 2015-07-16 多线程下载已基本稳定,默认开启多线程下载(若未开启请在 E-H***** Downloader Setting 里开启),尝试性兼容不支持 GM_xhr.response 的环境与 TrixIE(TrixIE 处理二进制数据时会崩溃,所以可能不可行),在未登录状态下下载时提醒未登录,并下载压缩的图片而不是尝试下载原图(未登录状态下无法下载原图),修复当下载量超出下载限制 (5000 张) 或带宽超出限制 (509 Bandwidth Exceeded) 时仍继续下载并存储的问题(thanks to p***********,目前解决方案为提醒并终止下载),修复当不存在副标题时使用副标题作为文件名可能出现错误的问题
  • v1.7 2015-06-21 修改下载失败处理逻辑(当下载失败时会继续下载其他图片,待其他图片处理完成后询问用户是否重试下载失败的图片,此功能可能不稳定,若频繁出现多次下载相同图片或多次触发下载,请回退版本),允许生成压缩的 zip 文件(需在设置页指定 Compression Level),生成的日志文件改用 \r\n 进行换行,全部任务处理完成后可关闭右下角输出窗口
  • v1.6 2015-06-12 添加下载图片超时中止功能(默认为永久,需在 E-Hentai Downloader Setting 里设置),当获取图片为 403 Access Denied 时重新获取图片,在下载过程中关闭或刷新或离开当前页面时弹出提醒,修复在画册非第一页触发下载时不是从第一张图开始获取的问题,修复重复点击下载按钮可能导致之前下载线程继续工作的问题,修复当设置项必须参数为空时无法继续执行脚本的问题
  • v1.5.1 2015-06-12 发布 1.5.1 版本,修复文件名为空时可能触发无文件名输出的 bug
  • v1.5 2015-06-12 发布 1.5 版本,支持自定义文件夹与 zip 文件名,更新 FileSaver.js 到最新版本
  • v1.4 2015-06-12 完成 1.4 版本,修复多线程下载失败时不重试的问题,修正变量拼写错误(1.3 版本开启多线程的用户需重新设置)
  • v1.3 2015-06-12 完成 1.3 版本,尝试性支持多线程下载
  • v1.2 2015-06-11

Show all script versions