Skip to main content

A Direct Downloader Module Which Will Get Direct Download Link From Some Popular File Uploading Websites Like Mediafire, Anonfiles

Project description

Direct Download

A simple yet powerful tool for getting direct download link.


Feautres

  • All Information Of File Is Available
  • No Need To Sign Up Or Usage Of Tokens
  • Data Is In JSON Format
  • Download the file
  • Switch Between Just Download Link Or ALL Information
  • Very Easy To Use

Supported Website

Installation

You Can Install Direct Download Using PIP

pip install Direct-Download

Quick Start

#First Import Direct From Module
from Direct_Download import Direct

#Declaring Variable As a Class
url = Direct()

#For mediafire
link = url.mediafire('https://www.mediafire.com/view/n2kcs3n9nd88vnr/picture.jpeg/file')
print(link)

#Output
#'https://download1482.mediafire.com/4f1knkpxhq6g/n2kcs3n9nd88vnr/picture.jpeg'

#For Anonfiles
link = url.anonfiles('https://anonfiles.com/n4pdf5Fdy1/night-mountains-minimalist-8k-wo_1_jpeg')
print(link)

#Output
#'https://cdn-126.anonfiles.com/n4pdf5Fdy1/889ab081-1667110179/night-mountains-minimalist-8k-wo (1).jpeg'

Usage/Examples

Get All Information About File metadata=True

from Direct_Download import Direct

url = Direct()

#Use Metadata By Enabling Metadata to True
link = url.mediafire('https://www.mediafire.com/file/n2kcs3n9nd88vnr/picture.jpeg/file', metadata=True)
print(link)

# Output
#{'data': {'file': {'metadata': {'DateAndTime': {'date': '2022-10-20',
#                                                'time': '11:00:27'},
#                                'id': 'www.mediafire.com',
#                                'name': 'picture',
#                                'size': {'readable': '73.62KB'}},
#                  'url': {'directDownload': 'https://download1482.mediafire.com/h32ugeuxwitg/n2kcs3n9nd88vnr/picture.jpeg',
#                           'original': 'https://www.mediafire.com/file/n2kcs3n9nd88vnr/picture.jpeg/file'}}},
# 'status': 'true'}

Download the file download=True

from Direct_Download import Direct

url = Direct()

#Use download By Enabling download to True for downloading your file 
url.mediafire('https://www.mediafire.com/file/n2kcs3n9nd88vnr/picture.jpeg/file', download=True)

Links

Contributors

CYCNO

Contributors are always welcome!

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

Direct-Download-0.4.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

Direct_Download-0.4.3-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file Direct-Download-0.4.3.tar.gz.

File metadata

  • Download URL: Direct-Download-0.4.3.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.8

File hashes

Hashes for Direct-Download-0.4.3.tar.gz
Algorithm Hash digest
SHA256 b9d78b153cf3d35084cecae8076f61753c65b6fe05e2c27daf06a826d593ae1a
MD5 afb2f279abf2af557b15075746d5bc5a
BLAKE2b-256 60f468aba8e36aee59a49fd3766d7cc07948eb95648a832876a9a57f36ba7f55

See more details on using hashes here.

File details

Details for the file Direct_Download-0.4.3-py3-none-any.whl.

File metadata

File hashes

Hashes for Direct_Download-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d62e07bdad56f138c4337a2fc14bb8dd863857c7c5df06be4016c55ed099589a
MD5 a4b87dfabf4bb136660d61c7d2ca3a15
BLAKE2b-256 a8a51bc701cda3316911671c5f21cbbb8fc0c777e93b2ad60e56f422b7a1b03f

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