Skip to main content

A simple and asynchronous wrapper for SubsPlease

Project description

subsplease.py

A simple and asynchronous wrapper for SubsPlease.

Installation

pip install subsplease.py

Implementation

from subsplease import SubsPlease

client = SubsPlease(
    timeout=100 # Optional
)

async def save_new_releases():
    releases = await client.get_latest_magnet()
    with open("magnet.txt", "w") as file:
        file.writelines(f"{release.title}: {release.link}\n" for release in releases)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

subsplease.py-1.2.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

subsplease.py-1.2.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file subsplease.py-1.2.1.tar.gz.

File metadata

  • Download URL: subsplease.py-1.2.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for subsplease.py-1.2.1.tar.gz
Algorithm Hash digest
SHA256 337ec1a13f95d61c5b1d83d32a96999809166479bfe89ed1b84ab8c89ca9fb8f
MD5 ffb5c78af9c06da5444798972eca1aae
BLAKE2b-256 b88e12d9a134872e99159f24186ac952af0f05ea1c0848981ce59e1aa550fce1

See more details on using hashes here.

File details

Details for the file subsplease.py-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: subsplease.py-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for subsplease.py-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a00af83b64d62390be1c8543f927347412dc42aabeddf7bf5a50e9bfc10ec277
MD5 741d846fcb8f62ef2ac5891669abf521
BLAKE2b-256 1b64fd9962fb3d56ebe693612463ef97ff0be2236d7fe9c6278f5977c81efd01

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page