Skip to main content

Simple Python Package for MediaFire File Download and Information Retrieval

Project description

Mediafire logo 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.

PyPI version 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

mediafiregrabber-1.4.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

mediafiregrabber-1.4-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file mediafiregrabber-1.4.tar.gz.

File metadata

  • Download URL: mediafiregrabber-1.4.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for mediafiregrabber-1.4.tar.gz
Algorithm Hash digest
SHA256 2a241eb9ca64f86bb8937552ba27a677ec7024197df0640b9c815eee507309cc
MD5 1ccb9f584fb541e898b4099a4875fba1
BLAKE2b-256 77152acc0e8ec08186d08c30df065146a26823f5db8e55669c172ec8d8c70131

See more details on using hashes here.

File details

Details for the file mediafiregrabber-1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for mediafiregrabber-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7a69739d807d45bb5d0df0ad6df9c301fdbb6d42e148e1634fd52934afd0f736
MD5 a8013790bf569094ff4e5c25223df31f
BLAKE2b-256 fb0885c0dadc912e43a4b6361119f4db22a24d6d9a334cf5fc656bf665a7baec

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page