pixiv-bulk-downloader
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
Release files for pixiv-bulk-downloader 4.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pixiv_bulk_downloader-4.0.2.tar.gz | 14.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pixiv_bulk_downloader-4.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.7 kB
Release files / pixiv_bulk_downloader-4.0.2.tar.gz
| Download URL | pixiv_bulk_downloader-4.0.2.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84faf41cbd38b2a554031779b40b237236cc37a670916033b3bfcad1763c2450
|
|
BLAKE2b-256 checksum How to use checksums |
ba43227808e5ee55da4ef236c2d7dc942c83206e6637b10d90ee8fd1baf05693
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / pixiv_bulk_downloader-4.0.2-py3-none-any.whl
| Download URL | pixiv_bulk_downloader-4.0.2-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d00d254ca4ce234c8d90f4df76fe57bca9371580adcf2bda411a1df17e0d20f5
|
|
BLAKE2b-256 checksum How to use checksums |
28b7c4dff40da3470952926e221b729abe8a06de9ec99846cd8a2df488ac0ebd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|