Introduction¶
DeepSeek Harness (DSH) extends its functionality through plugins. For scenarios where you need to continuously follow specific artists’ work, manually downloading each piece one by one is both time-consuming and prone to omissions. DSH provides a plugin-based solution, and dsh-pixiv-autodownload is a plugin specifically designed for incremental Pixiv downloads.
What It Is¶
dsh-pixiv-autodownload is a DSH plugin for incrementally downloading Pixiv works from a fixed list of artists. Maintained by iamjager416, its core purpose is to track already-downloaded content and only fetch new works during synchronization.
Core Features¶
- Remembers specified artist IDs and downloaded files; only supplements new works during sync
- Scheduled daily auto-sync (only triggers while DSH is running)
- Manage artists from the settings page: bubble-style display, with support for directly pasting artist profile links
- Customizable directory and filename rules
- Optional cookies — once provided, R-18 and private works become downloadable
- Pushes a summary to QQ at the end of each sync round
Installation & Enablement¶
Install via the DSH command:
dsh plugin --profile <profile> add github:iamjager416/dsh-pixiv-autodownload
Or use the pre-built package from Releases:
dsh plugin --profile <profile> add https://github.com/iamjager416/dsh-pixiv-autodownload/releases/latest/download/dsh-pixiv-autodownload.tgz
After installation, configure it under Settings → Pixiv Auto Download.
Typical Usage¶
- In the settings page input field, enter an artist ID or a
https://www.pixiv.net/users/<ID>link, then press Enter to add - If you want it to run automatically every day, set the time and check “Enable Daily Sync”
- To run it immediately, use “Sync Now” — choose between “New Only” or “Backfill History”
Naming Rules¶
Default directory: <artist_name>-<artist_ID>. Default filename: <work_ID>_p<page>-<title>.<extension>.
Available placeholders: {id} {page} {title} {user} {uid} {date} {type}.
QQ Push¶
In the “QQ Push” section on the settings page, fill in the following three items, then check “Enable QQ Push”:
- Bot AppID / AppSecret: Your bot credentials from the QQ Open Platform console
- Your conversation openid: The session ID of your direct chat with this bot (enter only the ID, without the
c2c:prefix)
After every sync round — including the daily schedule, “Sync Now” from the settings page, the run action of the pixiv_sync tool, and the CLI node cli.js sync — a summary message will be sent upon completion. The content includes: number of new works / images / skipped / failed / total size / duration, as well as the artists that had activity in this round. A message is also sent when there are no new works, so you can confirm the timer is still alive. If the sync fails, a failure message is sent instead.
Push uses the official QQ Bot HTTP API (bots.qq.com/app/getAppAccessToken → api.bot.qq.com/v2/users/{openid}/messages), the same as dsh-checkin, and is subject to QQ’s proactive message rate limits. Push failures only log the status and do not affect downloads: the settings page will display the time and failure reason of the “Last Push,” and you can also check via pixiv_sync’s status / notify_get.
Credentials are stored separately in $DSH_HOME/pixiv-sync/notify.json, not in config.json, and are not exposed in tool return values (status only shows “AppSecret saved”).
Notes¶
- Without cookies, only public works are visible
- Ugoira (animated illustrations) are skipped and not downloaded
- The plugin is unaware of files you’ve deleted from disk — deleted files will not be re-downloaded
- The schedule only triggers while DSH is running
Data¶
Stored under $DSH_HOME/pixiv-sync/: a SQLite database, config.json, an optional cookie.txt, and notify.json (once push is configured). All downloads and synchronization happen locally; the only outbound communication is the sync summary sent via QQ Push (if enabled).
Use Cases¶
Ideal for DSH users who need to continuously monitor a fixed list of artists. Check the source code and license (MIT) before installing.