Pixiv Downloader

Pixiv | Danbooru | Rule34. Download artworks with one click. Batch download artworks or download by tags. Convert ugoira formats: Gif | Apng | Webp | Webm | MP4. Customize image file name, save path. Save / export download history.

As of 2024-08-13. See the latest version.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
ruaruarua
Ratings
0 0 0
Version
1.0.3
Created
2021-09-09
Updated
2024-08-13
Size
708 KB
License
N/A
Applies to

请先阅读以下说明!

【这个脚本可以做什么】

  1. 一键(快捷键)下载 Pixiv 各页面原图。支持多图下载,动图下载,按作品标签下载,画师作品批量下载。
  2. 将多页插画,漫画作品打包下载为.zip 压缩包。
  3. 动图(ugoira)支持格式转换:Gif | Apng | Webp | Webm。
  4. 设置下载图片保存的文件夹(需要调整 tampermonkey“下载”设置为“浏览器 API”,或使用 FileSystemAccess API)。
  5. 保留已下载图片的记录。

【使用前】

  1. 【重要】 如果需要将图片保存到子文件夹,以下两种方法请选其一:
    1. 将 Tampermonkey 设置中的“配置模式”由“新手”改为“高级”,然后找到“下载 BETA”,将“下载模式”修改为“浏览器 API”。
    2. Pixiv Downloader 设置中开启“使用 FileSystemAccess API”。
  2. 提示:为方便使用,可以将浏览器设置中“下载前询问每个文件的保存位置”选项关闭。
  3. 如果 webp 动图下载失败,请将 webp 格式加入到 Tampermonkey 的下载文件扩展名白名单中。

【我的浏览器能用吗】

Tampermonkey

Chrome: ✔

Edge: ✔

Firefox: ⚠️ 不支持使用 FileSystemAccess API, 其他功能可用

Violentmonkey

Chrome: ⚠️ 不支持使用“浏览器 API”保存到画师文件夹,其他功能可用

Edge: ⚠️ 不支持使用“浏览器 API”保存到画师文件夹,其他功能可用

Firefox: ⚠️ 不支持保存到画师文件夹,不支持使用 FileSystemAccess API,其他功能可用

其他请自行测试 : )


【使用方法】

  1. Artworks(大图)页点击“赞!”左边的下载按钮下载全部原图(或使用快捷键ctrl + q)。
  2. 点击多图预览各图片右上角下载按钮可单独下载该图片。

  3. 画师主页,点击画师介绍右下方按钮批量下载画师作品。

    • 筛选器
      • 排除已下载图片:是否排除下载记录中的作品。
      • 插画:是否下载“插画”分类。
      • 漫画:是否下载“漫画”分类。
      • 动图:是否下载动图。
    • 作品: 批量下载画师作品。
    • 收藏: 批量下载画师收藏。
      • 公开: 仅下载公开收藏(个人页面)。
      • 不公开: 仅下载不公开收藏(个人页面)。
  4. 已关注用户的新作页,可批量下载关注画师的作品。

  5. 点击画师主页“作品”标题下方标签右侧下载按钮可下载含该标签的作品。

  6. 点击 pixiv 各页面图片左下角的下载图标可下载对应原图,支持搜索,动态,发现,排行榜等页面。

  7. 下载成功后下载图标会变为绿色的 √,仅作为下载记录提示,不影响下载功能,点击图标仍然会重复下载。

  8. 设置:点击浏览器右上方 tampermonkey 扩展图标召出设置面板,点击“设置”。

    • 文件名: 编辑图片保存文件名, 开启使用 FileSystemAccess API 等。
    • 动图: 选择动图保存格式。
    • 历史记录: 导出、导入、清除历史记录。
    • 其它: 多页作品是否打包为.zip 压缩包,下载后是否收藏作品等。

使用【浏览器 API】和使用【FileSystemAccess API】的区别

浏览器 API

  • 如浏览器设置的下载目录为D:\Downloads, 那么可以将图片保存到该目录下,如D:\Downloads\Pixiv\artwork.jpg
  • ViolentMonkey 不支持。

FileSystemAccess API:

  • 不受浏览器默认下载目录限制,如浏览器设置的下载目录为D:\Downloads,可以手动选择图片保存到其它目录,如D:\other dir\pixiv\artwork.jpg。
  • 本地存在相同文件时,可以选择“重命名”,“覆盖”或“提示”操作。
  • Violentmonkey 可用。
  • 限制: 暂不支持 Firefox,浏览器版本需: Chrome > 86, Edge > 86, Opera > 72
  • 限制:首次下载,或关闭所有 pixiv 标签后,需要手动选择图片保存目录。

如果你觉得这个脚本有帮助到你,欢迎扫一扫微信赞赏码,赞助我一瓶可口可乐(没有瞧不起百事可乐的意思 ^_^)。

使用愉快!