truelink


Nametruelink JSON
Version 1.4.0 PyPI version JSON
download
home_pageNone
SummaryExtract direct download links from various URL formats
upload_time2025-07-29 10:54:57
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseMIT
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

[![PyPI version](https://img.shields.io/pypi/v/truelink.svg)](https://pypi.org/project/truelink/)
[![Downloads](https://static.pepy.tech/badge/truelink/month)](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/50/38/44abd30c52c1bca48b7a49f4aabed3cf502f3b580a908531dcec49fd7bdc/truelink-1.4.0.tar.gz",
    "platform": null,
    "description": "# TrueLink\n\n[![PyPI version](https://img.shields.io/pypi/v/truelink.svg)](https://pypi.org/project/truelink/)\n[![Downloads](https://static.pepy.tech/badge/truelink/month)](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.0",
    "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"
    },
    "split_keywords": [
        "direct-link",
        " download",
        " extractor",
        " link",
        " url"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c2d3002341386fbcc85d596c4a1c83b3530320aa0073a4706ed001c15a464065",
                "md5": "b3cab833a33419a264626a651e6f2601",
                "sha256": "2b14955bed79ca29e301c4745701595f4c9e0d83bb33e295fa39ccd17a19aab4"
            },
            "downloads": -1,
            "filename": "truelink-1.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b3cab833a33419a264626a651e6f2601",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 39128,
            "upload_time": "2025-07-29T10:54:56",
            "upload_time_iso_8601": "2025-07-29T10:54:56.276147Z",
            "url": "https://files.pythonhosted.org/packages/c2/d3/002341386fbcc85d596c4a1c83b3530320aa0073a4706ed001c15a464065/truelink-1.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "503844abd30c52c1bca48b7a49f4aabed3cf502f3b580a908531dcec49fd7bdc",
                "md5": "e788c605d27b6746e79f8569327aaddf",
                "sha256": "fbf1f6824e3b0ceb5e62561c7db24f6bd22b32da98efff397959da83a6203227"
            },
            "downloads": -1,
            "filename": "truelink-1.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "e788c605d27b6746e79f8569327aaddf",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 26347,
            "upload_time": "2025-07-29T10:54:57",
            "upload_time_iso_8601": "2025-07-29T10:54:57.089081Z",
            "url": "https://files.pythonhosted.org/packages/50/38/44abd30c52c1bca48b7a49f4aabed3cf502f3b580a908531dcec49fd7bdc/truelink-1.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-29 10:54:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "5hojib",
    "github_project": "truelink",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "truelink"
}
        
Elapsed time: 1.26175s