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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84faf41cbd38b2a554031779b40b237236cc37a670916033b3bfcad1763c2450
|
|
| MD5 |
08463d06df60c9246a23e723bf3033f0
|
|
| BLAKE2b-256 |
ba43227808e5ee55da4ef236c2d7dc942c83206e6637b10d90ee8fd1baf05693
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d00d254ca4ce234c8d90f4df76fe57bca9371580adcf2bda411a1df17e0d20f5
|
|
| MD5 |
3f3a39b4bc01503e94aa1966fb69e54d
|
|
| BLAKE2b-256 |
28b7c4dff40da3470952926e221b729abe8a06de9ec99846cd8a2df488ac0ebd
|