Skip to main content

A clean MediaFire file and folder downloader with a Rich-powered CLI.

Project description

Mediafire-DL

Mediafire-DL is a small command-line downloader for MediaFire links.

It handles single files and folders, keeps nested folder structure intact, and shows a clean progress display while it downloads. Public links work without any login details. Links that require an account can be tried with an optional local cookies file.

What It Does

  • Downloads public MediaFire file links
  • Downloads public MediaFire folder links
  • Walks nested folders automatically
  • Saves folders using the same folder layout MediaFire reports
  • Shows a file preview before downloading
  • Supports a dry-run mode so you can check what would be saved first
  • Defaults to your system Downloads folder
  • Can read a local cookies.txt file for links your own browser account can access

Install

You need Python 3.9 or newer.

Install the package from PyPI:

python3 -m pip install --user mfget

Then run the command:

mediafire-dl

macOS

Install:

python3 -m pip install --user mfget

Run:

mediafire-dl

If your shell says mediafire-dl was not found, use:

python3 -m mediafire_dl

If the command is installed but your shell cannot find it, add Python's user script folder to your PATH. Adjust the Python version if needed:

echo 'export PATH="$HOME/Library/Python/3.12/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc

Windows

Install:

py -m pip install --user mfget

Run:

mediafire-dl

If PowerShell says mediafire-dl was not found, use:

py -m mediafire_dl

If you want the mediafire-dl command to work directly, add Python's user Scripts folder to PATH. It usually looks like this, with the Python version adjusted for your install:

%APPDATA%\Python\Python312\Scripts

Linux

Install:

python3 -m pip install --user mfget

Run:

mediafire-dl

If your shell says mediafire-dl was not found, use:

python3 -m mediafire_dl

Or add Python's user script folder to your PATH:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

From GitHub

Install the latest code from GitHub:

python3 -m pip install --user git+https://github.com/worstgirlinamerica/mediafire-dl.git

On Windows:

py -m pip install --user git+https://github.com/worstgirlinamerica/mediafire-dl.git

Local Project

Install from a cloned project folder:

python3 -m pip install --user .

Usage

Run the command and paste a MediaFire link when it asks:

mediafire-dl

Or pass the link directly:

mediafire-dl "https://www.mediafire.com/file/example/file.zip/file"

Choose a save folder:

mediafire-dl "https://www.mediafire.com/folder/example/My+Folder" --output ~/Downloads/MediaFire

Preview a folder without downloading anything:

mediafire-dl --dry-run "https://www.mediafire.com/folder/example/My+Folder"

Show more technical error details:

mediafire-dl --verbose "https://www.mediafire.com/file/example/file.zip/file"

Use a local cookies file for a link that your browser account can already access:

mediafire-dl --cookies ~/Downloads/cookies.txt "https://www.mediafire.com/file/example/file.zip/file"

The cookies file must be in Netscape/Mozilla cookies.txt format. Mediafire-DL only reads the file from your computer for that run.

Supported Links

Supported:

  • Public MediaFire file links
  • Public MediaFire folder links
  • Public folders with nested subfolders
  • MediaFire file or folder links that work with a user-provided cookies.txt file

Not supported:

  • Asking for or storing MediaFire usernames and passwords
  • Automatically reading cookies from your browser
  • Password-protected downloads that require an extra password prompt
  • Captcha-gated or blocked downloads

Privacy And Safety

Mediafire-DL does not ask for MediaFire login details and does not read browser cookies automatically. If you use --cookies, the cookie file stays on your machine and is only read by the current command.

License

MIT License. See LICENSE.

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

mfget-0.1.2.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

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

mfget-0.1.2-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file mfget-0.1.2.tar.gz.

File metadata

  • Download URL: mfget-0.1.2.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mfget-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8e3aef7b0642f5abfebe30917fc863e782789ec56d07c69be0ccbdd3b43009de
MD5 1dd9c3791a0a64b05d1e5a5dcac43be5
BLAKE2b-256 23a531af1632b07b61e1d2f917015e3cfce2605989e8f0cad687e65ee22504fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for mfget-0.1.2.tar.gz:

Publisher: release.yml on worstgirlinamerica/mediafire-dl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mfget-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: mfget-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mfget-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fe2d27ad0cf95aac9068a8d6952c51521b16992dd4e21c0f34f2c0a4bd228c53
MD5 ea3e7c1daadc3cd9a07722bc4fd5d1fe
BLAKE2b-256 ae306118fb8504d92561a75bfde9956d9b29c8efbb4bdc40fb905fc0fd7a12dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for mfget-0.1.2-py3-none-any.whl:

Publisher: release.yml on worstgirlinamerica/mediafire-dl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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