Skip to main content

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:

pip install mfget

Run:

mediafire-dl

macOS

If Python is not installed:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install python

Then install and run:

pip install mfget
mediafire-dl

If pip is not found:

python3 -m pip install mfget

If mediafire-dl is not found:

python3 -m mediafire_dl

Windows

If Python is not installed:

winget install Python.Python.3.12

Then install and run:

pip install mfget
mediafire-dl

If pip is not found:

py -m pip install mfget

If mediafire-dl is not found:

py -m mediafire_dl

Linux

If Python or pip is not installed:

sudo apt install python3 python3-pip

On Fedora:

sudo dnf install python3 python3-pip

On Arch:

sudo pacman -S python python-pip

Then install and run:

pip install mfget
mediafire-dl

If pip is not found:

python3 -m pip install mfget

If mediafire-dl is not found:

python3 -m mediafire_dl

From GitHub

Install the latest code from GitHub:

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

On Windows:

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

Local Project

Install from a cloned project folder:

pip install .

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.

Metadata

Release files for mfget 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mfget 0.1.3
File Size Uploaded
mfget-0.1.3.tar.gz 11.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mfget 0.1.3
File Interpreter ABI Platform
mfget-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 24.4 kB

Release files / mfget-0.1.3.tar.gz

Download URL mfget-0.1.3.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2164145f5bf2e92b172e21461e792c4fc834149de345a63d3d82109411fcb7f8
BLAKE2b-256 checksum
How to use checksums
0b6310ddee9c2d65e1f4bad86a194bbcb3c95165279bc6a37e740a0d2fcdd9a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 16, 2026.

Transparency log

Release files / mfget-0.1.3-py3-none-any.whl

Download URL mfget-0.1.3-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47372af1498ed8c4e010c267066470da9d1c29996b8f4089d7900758b3c33d82
BLAKE2b-256 checksum
How to use checksums
67a93a8632cfde361d737fc36f8303525d0bbb618e5ee60c08aa1af9f7c765f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page