Skip to main content

Unofficial python client to ktuvit.me (screwzira) API

Project description

Unofficial python client to ktuvit.me API

Usage is pretty straight forward:

import ktuvit

api = ktuvit.KtuvitApi()

api.find_series("Subtitle", "Prodigal.Son.S01E07.720p.HDTV.x264-KILLERS", 1,1) # Possible search_types are FilmName, Subtitle, ImdbID (case sensetive)
api.find_film('ImdbID', 'tt5463162') # Deadpool 2
"""
Should return something like this:
{
    'ErrorMessage': None,
    'IsSuccess': True,
    'Results': [{'Identifier': 'B01A861744343E9201D4ED1C73378559','SubtitleName': 'Deadpool.2.2018.NEW.720p.HD-TC.X264-CPG'}
}
"""

subtitle = api.get_subtitle('B01A861744343E9201D4ED1C73378559') # get the specified subtitles
# Save the subtitles to a file
with open("out.srt", "wb") as out:
    out.write(subtitle)

see documentation for more information.

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

ktuvit-api-0.1.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

ktuvit_api-0.1.1-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file ktuvit-api-0.1.1.tar.gz.

File metadata

  • Download URL: ktuvit-api-0.1.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for ktuvit-api-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a54c305060bc49d881943c8c5c58a5a2e8d5949c8ebf749b45e36da63cdd4c48
MD5 a1f8b3ef7555fbaa7beb7ecc914b0181
BLAKE2b-256 bdeca018eea888f27b00333831e5011b612cbc1ffe103188bd0ff75f62690cf3

See more details on using hashes here.

File details

Details for the file ktuvit_api-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ktuvit_api-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for ktuvit_api-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9fea91eb88c6e66c7d0e4fe0ce4f084bace11472e1d9917c9670f62062919b0f
MD5 365bef83fe2c8dfeeb4eaa047d7e3be6
BLAKE2b-256 89f03b6594393a62b7f4da46f6ff28284c4086118518e13628fcfe21eeae6e0b

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