[pkg]: megaloader-cli
Command-line interface for the megaloader library. Extract metadata and download files from supported hosting platforms directly in your terminal.
Installation
pip install megaloader-cli
The CLI installs the core megaloader library as a dependency. Both packages can be used independently.
Basic usage
List available files without downloading:
megaloader extract https://pixeldrain.com/l/abc123
Download files to a directory:
megaloader download https://pixeldrain.com/l/abc123 ./downloads
List supported platforms:
megaloader plugins
Commands
The extract command shows file metadata without downloading anything. Add
--json for machine-readable output or --verbose for debug logs:
megaloader extract https://pixeldrain.com/l/abc123
megaloader extract https://gofile.io/d/xyz456 --json
megaloader extract https://cyberdrop.me/a/album --verbose
The download command saves files to the specified directory. Defaults to
./downloads when omitted. Files are grouped into collection subfolders by
default:
megaloader download https://pixeldrain.com/l/abc123
megaloader download https://cyberdrop.me/a/album ./my-files
megaloader download https://bunkr.si/a/xyz789 ./downloads --verbose
Add --flat to disable subfolders and write all files directly to the output
directory. Use --filter to download only files matching a glob pattern:
megaloader download https://pixeldrain.com/l/abc123 ./downloads --flat
megaloader download https://cyberdrop.me/a/album ./videos --filter "*.mp4"
megaloader download https://bunkr.si/a/xyz789 ./images --filter "*.{jpg,png}"
GoFile password-protected content requires the --password argument:
megaloader download https://gofile.io/d/protected ./downloads --password secret123
The plugins command lists all supported platforms and domains.
Common patterns
Preview files before downloading:
megaloader extract https://pixeldrain.com/l/abc123
megaloader download https://pixeldrain.com/l/abc123 ./downloads
Filter by type to download only what you need:
megaloader download https://cyberdrop.me/a/album ./videos --filter "*.mp4"
megaloader download https://bunkr.si/a/xyz ./images --filter "*.jpg"
Control file organization with the --flat flag:
megaloader download https://pixeldrain.com/l/abc ./organized
megaloader download https://pixeldrain.com/l/abc ./flat --flat
Enable verbose logging for troubleshooting:
megaloader download https://example.com/file ./downloads --verbose
Relationship to core library
The CLI wraps the core megaloader library. It handles argument parsing, output formatting, and file downloads. The core library performs URL detection, metadata extraction, and platform-specific logic.
Use the CLI for terminal workflows, quick downloads, and platform exploration. Use the core library for Python integration, custom handling, progress tracking, and batch processing. See the core library documentation for programmatic usage.
Development
The CLI is part of a uv workspace. Install from the repository root:
uv sync
uv run megaloader --help
Install in editable mode for development:
uv pip install -e packages/cli
Run uv run ruff format . and the test suite before committing.
Contributing
Contributions are welcome. See the repository contributing guide for setup and submission details. Report bugs and request features through GitHub Discussions. Include your Python version, error messages, and problematic URLs.
Metadata
Release files for megaloader-cli 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| megaloader_cli-0.2.0.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| megaloader_cli-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.1 kB
Release files / megaloader_cli-0.2.0.tar.gz
| Download URL | megaloader_cli-0.2.0.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2437588906a2ab762e06328f864b41abd7ec8d3380bc94fea22c996543e79bda
|
|
BLAKE2b-256 checksum How to use checksums |
54bf78dcbd4727bbf13345e93c45e6866dcfaf11cb4f3a4ef654d045af068412
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 14, 2026.
Transparency logRelease files / megaloader_cli-0.2.0-py3-none-any.whl
| Download URL | megaloader_cli-0.2.0-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4d20575409c3fbbc2ca05ca73bc8cb495fc0dba113407dc1399f3aa1837727c
|
|
BLAKE2b-256 checksum How to use checksums |
ccff6122b66dd9df12ed05cf3c01f08df35be609bf6c151a8504c29e9cdbe178
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 14, 2026.
Transparency log