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
Contributors are always welcome!
Metadata
Release files for Direct-Download 0.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Direct-Download-0.4.4.tar.gz | 4.1 kB | Without provenance | Details for Direct-Download-0.4.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Direct_Download-0.4.4-py3-none-any.whl | Python 3 | none | any | Details for Direct_Download-0.4.4-py3-none-any.whl |
Total release size: 8.0 kB
Release files / Direct-Download-0.4.4.tar.gz
| Download URL | Direct-Download-0.4.4.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1faabf2e894e6c764bdda0d4e923ddd314ebf0c77d364d609bbc530cb95163db
|
|
BLAKE2b-256 checksum How to use checksums |
8a2d73ddd98ed089a4614a7f078010a8d978766a0fcb5d1a6de16418dd01eab1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.8
|
Release files / Direct_Download-0.4.4-py3-none-any.whl
| Download URL | Direct_Download-0.4.4-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
607fae9899c66ee34beaf410eebb07d8f2c567eb1110061b775651f96e4e6663
|
|
BLAKE2b-256 checksum How to use checksums |
806021365a8b78540f8ddf53bb79909137851229e422a9a0ea287f8fb5563f00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.8
|
Security for Direct-Download 0.4.4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.