Skip to main content

TrueLink

PyPI version Downloads

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

pip install truelink

Quick Start

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.

Community

Metadata

Release files for truelink 1.4.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for truelink 1.4.8
File Size Uploaded Provenance Actions
truelink-1.4.8.tar.gz 30.4 kB With provenance Details for truelink-1.4.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for truelink 1.4.8
File Interpreter ABI Platform Actions
truelink-1.4.8-py3-none-any.whl Python 3 none any Details for truelink-1.4.8-py3-none-any.whl

Total release size: 77.0 kB

Security for truelink 1.4.8

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page