Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cycno/directdownload
A Direct Downloader Module Which Will Get Direct Download Link From Some Popular File Uploading Websites
https://github.com/cycno/directdownload
anonfile anonfiles anonfiles-direct-download direct-download-link directdownload download download-direct mediafire mediafire-direct-download python python3
Last synced: about 2 months ago
JSON representation
A Direct Downloader Module Which Will Get Direct Download Link From Some Popular File Uploading Websites
- Host: GitHub
- URL: https://github.com/cycno/directdownload
- Owner: CYCNO
- License: mit
- Created: 2022-10-30T07:55:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-19T07:17:39.000Z (over 1 year ago)
- Last Synced: 2024-11-05T23:05:04.509Z (about 2 months ago)
- Topics: anonfile, anonfiles, anonfiles-direct-download, direct-download-link, directdownload, download, download-direct, mediafire, mediafire-direct-download, python, python3
- Language: Python
- Homepage: https://pypi.org/project/Direct-Download/
- Size: 2.93 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
---
## 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- [AnonFiles](https://anonfiles.com/)
- [Mediafire](https://mediafire.com/)
- [Google Drive](https://drive.google.com/)
- [Myfile](https://myfile.is/)
- [Letsupload](https://letsupload.cc/)
- [Filechan](https://filechan.org/)
- [MegaUpload](https://megaupload.nz/)## Installation
You Can Install Direct Download Using PIP```bash
pip install Direct-Download
```## Quick Start
```py
#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````py
from Direct_Download import Directurl = 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`
```py
from Direct_Download import Directurl = 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
- [PyPI](https://pypi.org/project/Direct-Download/)
- [API](https://github.com/CYCNO/Direct-Download-API)Contributors are always welcome!