Simple Python Package for MediaFire File Download and Information Retrieval
Project description
MediaFireGrabber [Now Supporting Both Files & Folders] (Python Edition)
A simple Python package that provides an easy-to-use interface for downloading files and folders from MediaFire and retrieving information about them.
Features
- Download folders and files from MediaFire by providing the folder/file URL.
- Retrieve information about files & folders, such as file name, owner name, size, creation date, and more.
Installation
You can install MediaFireGrabber using pip:
pip install mediafiregrabber
Usage
Full Information Retrieving
import mediafiregrabber
# For Brief Information
print(mediafiregrabber.info(url)) # For Both Files & Folders.
You can also use LoadFilesAndFolders=True as argument to load the files and folders present inside a folder. Default is False.
Partial Information Retrieving
# For Finding File Name
print(mediafiregrabber.name(url)) # Only For Files
# For Finding File Size
print(mediafiregrabber.size(url)) # Only For Files
# For Finding Uploading Date
print(mediafiregrabber.uploaddate(url)) # Only For Files
# For Finding Format of the file to be downloaded (PDF, ZIP, RAR...)
print(mediafiregrabber.format(url)) # Only For Files
# For Finding Uploader's Country
print(mediafiregrabber.uploadregion(url)) # Only For Files
# For Finding Direct Download Link
print(mediafiregrabber.downloadlink(url)) # Only For Files
Download Files or Folders
import mediafiregrabber
mediafiregrabber.download(url)
You can pass save="path" argument along with url too!
CLI Usage
$ mediafiregrabber <fileurl> <folderurl>...
Similarly, you can use --path argument to add your download location.
Make sure to replace url with actual URLs as needed.
License
This project is licensed under the MIT License
Contribution
Contributions are welcome! If you have any feature suggestions, bug reports, or pull requests, please open an issue or a pull request on GitHub.
Disclaimer
This package is developed independently and is not affiliated with or endorsed by MediaFire.
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
Built Distribution
File details
Details for the file mediafiregrabber-1.1.tar.gz
.
File metadata
- Download URL: mediafiregrabber-1.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3de2765e54ceda665cb21c3e7f966a79bc73f433e94f48f11adbccbfc37b4e6 |
|
MD5 | 7d272380017167ae8b127d3337bfdb6f |
|
BLAKE2b-256 | 17534c2a5ee19855485d16ff1a16fc30fa24f6d180c15b780bc2f4324fb2860b |
File details
Details for the file mediafiregrabber-1.1-py3-none-any.whl
.
File metadata
- Download URL: mediafiregrabber-1.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9a9b46b081c9fc45ec4eb2a813b7192d3599c21e8609b0a29af094d6c0939c3 |
|
MD5 | ae7c20ec5aee3c0bc8318d1518d57754 |
|
BLAKE2b-256 | 30e6efe9bf51f06a55c8f0331f90c8cfb31c4c89369a87e6891e76835e3ad088 |