Skip to main content

A Python library to download files from Pixeldrain and Bunkr galleries

Project description

📥 PDB Downloader

PixelDrain & Bunkr Automation

A powerful dual-language solution (Python & Node.js) to automate file downloads from Pixeldrain galleries and Bunkr albums.

Python Node.js License


✨ Features

Feature Description
🚀 Parallel Downloads Maximize your bandwidth with concurrent file downloading.
📦 Smart Extraction Automatically parses Pixeldrain galleries and Bunkr albums.
🛡️ Bunkr Decryption Built-in logic to handle Bunkr's time-based XOR encrypted links.
⚡ Efficient Downloads are handled individually to avoid "Giant Zip" server-side limits.
🌐 Cross-Platform Ready-to-use libraries for both Python and Node.js environments.

📂 Project Structure

pdb-downloader/
├── 📦 pdb-downloader-js/   # Node.js Library
│   ├── src/
│   └── package.json
└── 🐍 pdb-downloader-py/   # Python Library
    ├── pdb_downloader/
    └── pyproject.toml

📦 Node.js Usage

Located in the pdb-downloader-js directory.

Installation

cd pdb-downloader-js
npm install
npm run build

Quick Start

import { PDBDownloader } from 'pdb-downloader';

const downloader = new PDBDownloader();

// Download a Pixeldrain gallery
downloader.download('https://pixeldrain.com/l/YOUR_ID', {
    outputDir: './downloads',
    concurrency: 3,
    onLog: (msg) => console.log(`[JS] ${msg}`)
});

🐍 Python Usage

Located in the pdb-downloader-py directory.

Installation

cd pdb-downloader-py
pip install .

Quick Start

from pdb_downloader import PDBDownloader

downloader = PDBDownloader()

def log_callback(msg):
    print(f"[PY] {msg}")

# Download with 3 concurrent threads
downloader.download(
    url='https://pixeldrain.com/l/YOUR_ID', 
    output_dir='./downloads',
    concurrency=3, 
    on_log=log_callback
)

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

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

Source Distribution

pdb_downloader-1.0.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

pdb_downloader-1.0.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file pdb_downloader-1.0.0.tar.gz.

File metadata

  • Download URL: pdb_downloader-1.0.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for pdb_downloader-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ec071b76fa994bba65bbe5501aa2aae8f506ec600b030ea9524bb1d0ac14bbc5
MD5 1847b777af62b7837dc90a65604f27e9
BLAKE2b-256 f296cb59010da33d0d061126dd32f3350cd0679ac6b64415f5d5fa97b29147ed

See more details on using hashes here.

File details

Details for the file pdb_downloader-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pdb_downloader-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for pdb_downloader-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d9b244db3e426b99f5eb1b4b1b9897b8ab68ba64d2cabcba5c41815d723f4ee
MD5 2434d40bebb6f9037a5dc650f242d7b5
BLAKE2b-256 01f47ee892f3abac02cf734690ea5995b54be469a9dd48a6a446141383bb51a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page