MCPcopy
hub / github.com/xuejianxianzun/PixivBatchDownloader

github.com/xuejianxianzun/PixivBatchDownloader @v19.0.0 sqlite

repository ↗ · DeepWiki ↗ · release v19.0.0 ↗
3,159 symbols 9,778 edges 244 files 306 documented · 10%
README

English | 简体中文 | 繁體中文 | 日本語 | 韩国语 | Russian

Discord channel

version

Introduction

Powerful Pixiv Downloader

This is a browser extension that lets you download images and novels from Pixiv in batch.

Available languages: Simplified Chinese, Traditional Chinese, Japanese, English、Korean、Russian.

The main function:

  • Batch download all works, bookmarks, followed users, rankings, search results, etc. from a Pixiv user;
  • Set various filtering conditions to select the works you want to download;
  • Create folders using usernames, work titles, custom text, and other rules;
  • Customize file names;
  • Download illustrations, manga, Ugoira, novels;
  • One-click download any work you see;
  • Manually select (multi-select) the works you want to download;
  • Scheduled crawling and downloading;
  • Convert Ugoira to WebM, GIF, APNG formats;
  • Save novels in TXT, EPUB formats;
  • Save user avatars and cover images;
  • Save download progress and resume incomplete downloads;
  • Save download history to avoid duplicates;
  • Batch bookmark works;
  • Add tags to unclassified works in bookmarks;
  • Various enhancement features to optimize Pixiv usage experience and efficiency;
  • Preview works and view original images without entering the work page;
  • Built-in image viewer to view multi-image works;
  • Highlight followed users;

PixivBatchDownloader screenshot

Online Installation

Browsers with Chromium core, such as Chrome and Edge, can install this extension from the Chrome Web Store.

Firefox browsers can install this extension from Add-Ons.

Offline Installation

Please check the Wiki page: Offline Installation

If you want to use this extension on Android, please check the Wiki page: Install on Microsoft Edge Canary Browser

Wiki

View Wiki

Patreon

Become a patron

Thank you for your support!

Thanks

  • Thanks 道滿 , VHlqg for translating traditional Chinese.

  • Thanks 光の軌跡 for translating traditional Japanese.

  • Thanks bropines for translating traditional Russia.

  • Thanks KOZ39 for translating traditional Korean.

  • Thanks z2n for improvements to the program.

Development

  1. This tool needs to be installed Node.JS first during development.

  2. Clone this project (or fork first) and install dependencies:

git clone https://github.com/xuejianxianzun/PixivBatchDownloader.git

cd ./PixivBatchDownloader

npm i

So far, the initialization is complete.

You can load the dist folder as an extension in the extension management of your browser for local debugging.


The npm command of this project:

npm run ts // compile ts file to dist folder
npm run less // compile less files to the dist folder
npm run fmt // format all files

npm run pre-build // execute fmt, ts, less commands (compile all code, but do not package)

npm run build // execute fmt, ts, less commands, and copy other files needed for packaging to the dist folder, and finally pack the dist folder into a zip file

When you modify the code and compile it, the code will be compiled to the dist folder. You need to refresh the offline loaded extension in the browser's extension management, and then refresh the pixiv page to apply the new code.

Extension points exported contracts — how you extend this code

LikeResponse (Interface)
点击 like 按钮时返回的数据
src/ts/API.ts
ExportData (Interface)
作品的数据
src/ts/crawlMixedPage/InitDashboardPage.ts
OptionElement (Interface)
储存每个设置项里的一些元素
src/ts/setting/CrawlNumber.ts
NovelSummary (Interface)
储存每个小说的必要数据。这是从完整数据里提取的部分摘要数据
src/ts/download/MergeNovel.ts
MouseArg (Interface)
(no doc)
src/ts/Tip.ts

Core symbols most depended-on inside this repo

transl
called by 816
src/ts/Language.ts
push
called by 438
src/ts/ExportLog.ts
push
called by 271
src/ts/download/AutoMergeNovel.ts
warning
called by 204
src/ts/Log.ts
error
called by 204
src/ts/filter/ShowEnabledFilter.ts
set
called by 161
src/ts/store/CacheWorkData.ts
log
called by 139
src/ts/crawl/StopCrawl.ts
check
called by 134
src/static/lib/jepub.js

Shape

Method 2,001
Function 629
Class 410
Interface 112
Enum 7

Languages

TypeScript100%

Modules by API surface

src/static/lib/mediabunny.min.js762 symbols
src/ts/Tools.ts65 symbols
src/static/lib/pako.min.js65 symbols
src/ts/crawl/CrawlResult.d.ts51 symbols
src/ts/utils/Utils.ts49 symbols
src/static/lib/jepub.js46 symbols
src/ts/API.ts38 symbols
src/static/lib/jszip.min.js36 symbols
src/ts/filter/Filter.ts33 symbols
src/static/lib/viewer.min.js30 symbols
src/ts/setting/SettingsPanelSearch.ts29 symbols
src/ts/filter/ShowEnabledFilter.ts28 symbols

Dependencies from manifests, versioned

@types/chrome0.0.277 · 1×
@types/har-format1.2.16 · 1×
@types/node22.7.4 · 1×
@typescript-eslint/eslint-plugin8.8.0 · 1×
@typescript-eslint/parser8.8.0 · 1×
archiver7.0.1 · 1×
eslint9.12.0 · 1×
eslint-config-prettier9.1.0 · 1×
less4.2.0 · 1×
prettier3.3.3 · 1×

For agents

$ claude mcp add PixivBatchDownloader \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact