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
Downloadsfolder - Can read a local
cookies.txtfile 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.txtfile
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
Release history Release notifications | RSS feed
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 mfget-0.1.3.tar.gz.
File metadata
- Download URL: mfget-0.1.3.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2164145f5bf2e92b172e21461e792c4fc834149de345a63d3d82109411fcb7f8
|
|
| MD5 |
34ca461115435a707b4aec9e988b89f1
|
|
| BLAKE2b-256 |
0b6310ddee9c2d65e1f4bad86a194bbcb3c95165279bc6a37e740a0d2fcdd9a0
|
Provenance
The following attestation bundles were made for mfget-0.1.3.tar.gz:
Publisher:
release.yml on worstgirlinamerica/mediafire-dl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mfget-0.1.3.tar.gz -
Subject digest:
2164145f5bf2e92b172e21461e792c4fc834149de345a63d3d82109411fcb7f8 - Sigstore transparency entry: 1554528849
- Sigstore integration time:
-
Permalink:
worstgirlinamerica/mediafire-dl@ae7852e64da23979fa1c462fe82a834b3e039c29 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/worstgirlinamerica
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ae7852e64da23979fa1c462fe82a834b3e039c29 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mfget-0.1.3-py3-none-any.whl.
File metadata
- Download URL: mfget-0.1.3-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47372af1498ed8c4e010c267066470da9d1c29996b8f4089d7900758b3c33d82
|
|
| MD5 |
0253708ea3ca20d6131613683c747561
|
|
| BLAKE2b-256 |
67a93a8632cfde361d737fc36f8303525d0bbb618e5ee60c08aa1af9f7c765f5
|
Provenance
The following attestation bundles were made for mfget-0.1.3-py3-none-any.whl:
Publisher:
release.yml on worstgirlinamerica/mediafire-dl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mfget-0.1.3-py3-none-any.whl -
Subject digest:
47372af1498ed8c4e010c267066470da9d1c29996b8f4089d7900758b3c33d82 - Sigstore transparency entry: 1554528892
- Sigstore integration time:
-
Permalink:
worstgirlinamerica/mediafire-dl@ae7852e64da23979fa1c462fe82a834b3e039c29 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/worstgirlinamerica
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ae7852e64da23979fa1c462fe82a834b3e039c29 -
Trigger Event:
release
-
Statement type: