Name | truelink JSON |
Version |
1.4.3
JSON |
| download |
home_page | None |
Summary | Extract direct download links from various URL formats |
upload_time | 2025-08-11 15:43:49 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | MIT |
keywords |
direct-link
download
extractor
link
url
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# TrueLink
[](https://pypi.org/project/truelink/)
[](https://pepy.tech/project/truelink)
A Python library for resolving media URLs to direct download links from various file hosting services.
## Features
- **Asynchronous**: Built with `async/await` for efficient handling of multiple requests.
- **Easy to use**: Simple API with intuitive method names.
- **Extensible**: Support for multiple file hosting platforms.
- **Caching**: Built-in caching for faster resolution of repeated requests.
- **Error handling**: Robust error handling for various edge cases.
- **URL validation**: Built-in URL validation before processing.
- **Type-hinted**: Fully type-hinted codebase for better readability and maintainability.
## Installation
```bash
pip install truelink
```
## Quick Start
```python
import asyncio
from truelink import TrueLinkResolver
async def main():
# Check if a URL is supported without creating an instance
if TrueLinkResolver.is_supported("https://buzzheavier.com/rnk4ut0lci9y"):
print("BuzzHeavier is supported!")
resolver = TrueLinkResolver()
url = "https://buzzheavier.com/rnk4ut0lci9y"
try:
result = await resolver.resolve(url)
print(type(result))
print(result)
except Exception as e:
print(f"Error processing {url}: {e}")
asyncio.run(main())
```
### Documentation
For more information, see the [documentation](https://5hojib.github.io/truelink/).
### Community
- [Contributing](docs/contributing.md)
- [Code of Conduct](CODE_OF_CONDUCT.md)
- [Changelog](docs/changelog.md)
Raw data
{
"_id": null,
"home_page": null,
"name": "truelink",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "5hojib <yesiamshojib@gmail.com>",
"keywords": "direct-link, download, extractor, link, url",
"author": null,
"author_email": "5hojib <yesiamshojib@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/00/00/a3fad720c6cc40e0db45856973ae059be3ab277ce479c143529b88a0b4f4/truelink-1.4.3.tar.gz",
"platform": null,
"description": "# TrueLink\n\n[](https://pypi.org/project/truelink/)\n[](https://pepy.tech/project/truelink)\n\nA Python library for resolving media URLs to direct download links from various file hosting services.\n\n## Features\n\n- **Asynchronous**: Built with `async/await` for efficient handling of multiple requests.\n- **Easy to use**: Simple API with intuitive method names.\n- **Extensible**: Support for multiple file hosting platforms.\n- **Caching**: Built-in caching for faster resolution of repeated requests.\n- **Error handling**: Robust error handling for various edge cases.\n- **URL validation**: Built-in URL validation before processing.\n- **Type-hinted**: Fully type-hinted codebase for better readability and maintainability.\n\n## Installation\n\n```bash\npip install truelink\n```\n\n## Quick Start\n\n```python\nimport asyncio\nfrom truelink import TrueLinkResolver\n\nasync def main():\n # Check if a URL is supported without creating an instance\n if TrueLinkResolver.is_supported(\"https://buzzheavier.com/rnk4ut0lci9y\"):\n print(\"BuzzHeavier is supported!\")\n\n resolver = TrueLinkResolver()\n url = \"https://buzzheavier.com/rnk4ut0lci9y\"\n\n try:\n result = await resolver.resolve(url)\n print(type(result))\n print(result)\n except Exception as e:\n print(f\"Error processing {url}: {e}\")\n\nasyncio.run(main())\n```\n\n### Documentation\n\nFor more information, see the [documentation](https://5hojib.github.io/truelink/).\n\n### Community\n\n- [Contributing](docs/contributing.md)\n- [Code of Conduct](CODE_OF_CONDUCT.md)\n- [Changelog](docs/changelog.md)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Extract direct download links from various URL formats",
"version": "1.4.3",
"project_urls": {
"Changelog": "https://5hojib.github.io/truelink/changelog/",
"Documentation": "https://5hojib.github.io/truelink/",
"Homepage": "https://5hojib.github.io/truelink/",
"Issues": "https://github.com/5hojib/truelink/issues",
"Repository": "https://github.com/5hojib/truelink",
"Source": "https://github.com/5hojib/truelink"
},
"split_keywords": [
"direct-link",
" download",
" extractor",
" link",
" url"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "fe29f85111d7a8d1d8d74905fa0738eb6a420c8406f8c31fe1ea0f89aff9bf8f",
"md5": "3520b897a87159ef72bc5065d72c44fb",
"sha256": "785ca3b2e5fb4a5ea57a7d165c169377ac1d0e4d0526e4da80698cce6e0ddb0a"
},
"downloads": -1,
"filename": "truelink-1.4.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3520b897a87159ef72bc5065d72c44fb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 40001,
"upload_time": "2025-08-11T15:43:47",
"upload_time_iso_8601": "2025-08-11T15:43:47.634902Z",
"url": "https://files.pythonhosted.org/packages/fe/29/f85111d7a8d1d8d74905fa0738eb6a420c8406f8c31fe1ea0f89aff9bf8f/truelink-1.4.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "0000a3fad720c6cc40e0db45856973ae059be3ab277ce479c143529b88a0b4f4",
"md5": "e65865b9d724b5f5c8c2bd284da188e2",
"sha256": "e20d30b2f6c95e0232159ae64a59f502faa0809bbe8d8ed5191f0c7f01f72879"
},
"downloads": -1,
"filename": "truelink-1.4.3.tar.gz",
"has_sig": false,
"md5_digest": "e65865b9d724b5f5c8c2bd284da188e2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 25587,
"upload_time": "2025-08-11T15:43:49",
"upload_time_iso_8601": "2025-08-11T15:43:49.145516Z",
"url": "https://files.pythonhosted.org/packages/00/00/a3fad720c6cc40e0db45856973ae059be3ab277ce479c143529b88a0b4f4/truelink-1.4.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-11 15:43:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "5hojib",
"github_project": "truelink",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "truelink"
}