Skip to main content

pixiv-bulk-downloader

PyPI CI

ghcr size

Pixiv Bulk Downloader for bookmarks and works of following authors.

Installation

# mise via github release
mise use -g github:eggplants/pixiv-bulk-downloader

# mise via pipx
mise use -g pipx:pixiv-bulk-downloader

# pipx
pipx install pixiv-bulk-downloader

# pip
pip install pixiv-bulk-downloader

Docker

docker pull ghcr.io/eggplants/pixiv-bulk-downloader

# the image has no browser, so log in by pasting the code back
docker run --rm -it -v ~/pbd:/root/pbd -v ~/.config/gppt:/root/.config/gppt \
  ghcr.io/eggplants/pixiv-bulk-downloader --oauth bookmarked

Setup

Logging in is delegated to gppt, which owns the credentials and the token cache under ~/.config/gppt/.

# store an account: pixiv ID + password (e2e), or nothing at all (oauth)
gppt configure

CLI

$ pbd login          # or: pbd l
[+] Opening browser for pixiv login ...
[+] Logged in as: eggplant (@eggplants)

$ pbd following      # or: pbd f -- works of every artist you follow
$ pbd bookmarked     # or: pbd b -- everything you have bookmarked

Downloads land in $SAVE_DIR (default ~/pbd), or wherever -o/--save-dir says:

  • <save dir>/following/<id>_<name>_<account>/ -- one directory per artist
  • <save dir>/bookmarks/ -- every bookmarked work

Files already on disk are skipped, so an interrupted run can just be started again.

Library

from pixiv_bulk_downloader import PixivBookmarksDownloader, login
from pathlib import Path

client = login()
PixivBookmarksDownloader(client, Path.home() / "pbd").download_all()

License

MIT License

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pixiv_bulk_downloader-4.0.2.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pixiv_bulk_downloader-4.0.2-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file pixiv_bulk_downloader-4.0.2.tar.gz.

File metadata

  • Download URL: pixiv_bulk_downloader-4.0.2.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pixiv_bulk_downloader-4.0.2.tar.gz
Algorithm Hash digest
SHA256 84faf41cbd38b2a554031779b40b237236cc37a670916033b3bfcad1763c2450
MD5 08463d06df60c9246a23e723bf3033f0
BLAKE2b-256 ba43227808e5ee55da4ef236c2d7dc942c83206e6637b10d90ee8fd1baf05693

See more details on using hashes here.

File details

Details for the file pixiv_bulk_downloader-4.0.2-py3-none-any.whl.

File metadata

  • Download URL: pixiv_bulk_downloader-4.0.2-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pixiv_bulk_downloader-4.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d00d254ca4ce234c8d90f4df76fe57bca9371580adcf2bda411a1df17e0d20f5
MD5 3f3a39b4bc01503e94aa1966fb69e54d
BLAKE2b-256 28b7c4dff40da3470952926e221b729abe8a06de9ec99846cd8a2df488ac0ebd

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

4.0.2 This release

2 files

3.0.0

2 files

2.8.1

2 files

2.8.0

2 files

2.7.1

2 files

2.7.0

2 files

2.6.0

2 files

2.5.0

2 files

2.4

2 files

2.3

2 files

2.2

2 files

2.1

2 files

2.0

2 files

1.9

2 files

1.8

2 files

1.7

2 files

1.6

2 files

1.3

2 files

1.2

2 files

1.1

2 files

1.0

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page