<div align="center">
<h1 align="center">Direct Download</h1>
<strong><i>A simple yet powerful tool for getting direct download link.</i></strong>
<br>
<br>
<a href="https://www.python.org/">
<img src="https://img.shields.io/badge/MADE%20WITH-PYTHON-red?logoColor=red&logo=Python&style=for-the-badge">
</a>
<a href="https://pypi.org/project/Direct-Download/">
<img src="https://img.shields.io/badge/PYPI-V0.4-blue?logo=PyPI&style=for-the-badge">
</a>
<a href="https://github.com/CYCNO/DirectDownload/graphs/contributors">
<img src="https://img.shields.io/github/contributors/cycno/DirectDownload?style=for-the-badge&color=green&logo=GitHub">
</a>
</div>
---
## 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 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`
```py
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
- [PyPI](https://pypi.org/project/Direct-Download/)
- [API](https://github.com/CYCNO/Direct-Download-API)
## Contributors
### <a href="https://github.com/CYCNO"><img src="https://avatars.githubusercontent.com/u/90704569?v=4" alt="CYCNO" width="50" height="50" style="border-radius: 50%;"></a>
Contributors are always welcome!
Raw data
{
"_id": null,
"home_page": "https://github.com/CYCNO/DirectDownload",
"name": "Direct-Download",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "direct download,anonfiles,mediafire,mediafire direct download,anonfiles direct download,google drive,google drive direct download link,google drive download link,megaupload,myfile,letsupload,filechan",
"author": "CYCNO",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/8a/2d/73ddd98ed089a4614a7f078010a8d978766a0fcb5d1a6de16418dd01eab1/Direct-Download-0.4.4.tar.gz",
"platform": null,
"description": "<div align=\"center\">\n<h1 align=\"center\">Direct Download</h1>\n<strong><i>A simple yet powerful tool for getting direct download link.</i></strong>\n<br>\n<br>\n<a href=\"https://www.python.org/\">\n<img src=\"https://img.shields.io/badge/MADE%20WITH-PYTHON-red?logoColor=red&logo=Python&style=for-the-badge\">\n</a>\n<a href=\"https://pypi.org/project/Direct-Download/\">\n<img src=\"https://img.shields.io/badge/PYPI-V0.4-blue?logo=PyPI&style=for-the-badge\">\n</a>\n<a href=\"https://github.com/CYCNO/DirectDownload/graphs/contributors\">\n<img src=\"https://img.shields.io/github/contributors/cycno/DirectDownload?style=for-the-badge&color=green&logo=GitHub\">\n</a>\n</div>\n\n---\n\n## Feautres\n\n - All Information Of File Is Available\n - No Need To Sign Up Or Usage Of Tokens \n - Data Is In JSON Format \n - Download the file\n - Switch Between Just Download Link Or ALL Information\n - Very Easy To Use\n \n ## Supported Website\n\n- [AnonFiles](https://anonfiles.com/)\n- [Mediafire](https://mediafire.com/)\n- [Google Drive](https://drive.google.com/)\n- [Myfile](https://myfile.is/)\n- [Letsupload](https://letsupload.cc/)\n- [Filechan](https://filechan.org/)\n- [MegaUpload](https://megaupload.nz/)\n\n## Installation\nYou Can Install Direct Download Using PIP\n\n```bash\npip install Direct-Download\n```\n\n## Quick Start\n\n```py\n#First Import Direct From Module\nfrom Direct_Download import Direct\n\n#Declaring Variable As a Class\nurl = Direct()\n\n#For mediafire\nlink = url.mediafire('https://www.mediafire.com/view/n2kcs3n9nd88vnr/picture.jpeg/file')\nprint(link)\n\n#Output\n#'https://download1482.mediafire.com/4f1knkpxhq6g/n2kcs3n9nd88vnr/picture.jpeg'\n\n#For Anonfiles\nlink = url.anonfiles('https://anonfiles.com/n4pdf5Fdy1/night-mountains-minimalist-8k-wo_1_jpeg')\nprint(link)\n\n#Output\n#'https://cdn-126.anonfiles.com/n4pdf5Fdy1/889ab081-1667110179/night-mountains-minimalist-8k-wo (1).jpeg'\n```\n\n## Usage/Examples\nGet All Information About File `metadata=True`\n\n```py\nfrom Direct_Download import Direct\n\nurl = Direct()\n\n#Use Metadata By Enabling Metadata to True\nlink = url.mediafire('https://www.mediafire.com/file/n2kcs3n9nd88vnr/picture.jpeg/file', metadata=True)\nprint(link)\n\n# Output\n#{'data': {'file': {'metadata': {'DateAndTime': {'date': '2022-10-20',\n# 'time': '11:00:27'},\n# 'id': 'www.mediafire.com',\n# 'name': 'picture',\n# 'size': {'readable': '73.62KB'}},\n# 'url': {'directDownload': 'https://download1482.mediafire.com/h32ugeuxwitg/n2kcs3n9nd88vnr/picture.jpeg',\n# 'original': 'https://www.mediafire.com/file/n2kcs3n9nd88vnr/picture.jpeg/file'}}},\n# 'status': 'true'}\n```\n\nDownload the file `download=True`\n```py\nfrom Direct_Download import Direct\n\nurl = Direct()\n\n#Use download By Enabling download to True for downloading your file \nurl.mediafire('https://www.mediafire.com/file/n2kcs3n9nd88vnr/picture.jpeg/file', download=True)\n```\n## Links\n- [PyPI](https://pypi.org/project/Direct-Download/)\n- [API](https://github.com/CYCNO/Direct-Download-API)\n\n## Contributors\n### <a href=\"https://github.com/CYCNO\"><img src=\"https://avatars.githubusercontent.com/u/90704569?v=4\" alt=\"CYCNO\" width=\"50\" height=\"50\" style=\"border-radius: 50%;\"></a>\n\nContributors are always welcome!\n",
"bugtrack_url": null,
"license": "",
"summary": "A Direct Downloader Module Which Will Get Direct Download Link From Some Popular File Uploading Websites Like Mediafire, Anonfiles",
"version": "0.4.4",
"split_keywords": [
"direct download",
"anonfiles",
"mediafire",
"mediafire direct download",
"anonfiles direct download",
"google drive",
"google drive direct download link",
"google drive download link",
"megaupload",
"myfile",
"letsupload",
"filechan"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "806021365a8b78540f8ddf53bb79909137851229e422a9a0ea287f8fb5563f00",
"md5": "101fe3a62946d8ee944405322bfb4bb1",
"sha256": "607fae9899c66ee34beaf410eebb07d8f2c567eb1110061b775651f96e4e6663"
},
"downloads": -1,
"filename": "Direct_Download-0.4.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "101fe3a62946d8ee944405322bfb4bb1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 3945,
"upload_time": "2023-04-19T07:12:09",
"upload_time_iso_8601": "2023-04-19T07:12:09.995866Z",
"url": "https://files.pythonhosted.org/packages/80/60/21365a8b78540f8ddf53bb79909137851229e422a9a0ea287f8fb5563f00/Direct_Download-0.4.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8a2d73ddd98ed089a4614a7f078010a8d978766a0fcb5d1a6de16418dd01eab1",
"md5": "b83eed6e149493f310c060b7b3640c86",
"sha256": "1faabf2e894e6c764bdda0d4e923ddd314ebf0c77d364d609bbc530cb95163db"
},
"downloads": -1,
"filename": "Direct-Download-0.4.4.tar.gz",
"has_sig": false,
"md5_digest": "b83eed6e149493f310c060b7b3640c86",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4060,
"upload_time": "2023-04-19T07:12:12",
"upload_time_iso_8601": "2023-04-19T07:12:12.423282Z",
"url": "https://files.pythonhosted.org/packages/8a/2d/73ddd98ed089a4614a7f078010a8d978766a0fcb5d1a6de16418dd01eab1/Direct-Download-0.4.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-19 07:12:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "CYCNO",
"github_project": "DirectDownload",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "direct-download"
}