Skip to main content

A Python wrapper for SubScene

Project description

Python wraper for SubScene(.)com

We are working on developing an api for Subscene(.)com. And making the code more managable. Before using in production please be sure it works well.

Usage:

CLI:

Use: -n 'name' -y 'year' -l 'language' [Optional]
    Usage:
        -h or --help | Show this help message
        -n or --name | Name of the movie/media
        -y or --year | Year of release
        -l or --lang | Language of desired subtitle

Script:

from subscene.SubScene import SubScene

sub = SubScene() # Initialize the api Class
detail = {
    'name': 'Hello',
    'year': '2008'
    }
link = sub.getDetail(detail) # Available Subtitles
print(link)
links = sub.getSubLink(link) # Link to Specific Subtitle
print(links)
down = sub.getDownLink(links[0]) # DownLoad link for Specific Language
print(down)

Making with love by Rakibul Yeasin and Abdullah Zayed

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

subscene2-1.0.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

subscene2-1.0.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file subscene2-1.0.2.tar.gz.

File metadata

  • Download URL: subscene2-1.0.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for subscene2-1.0.2.tar.gz
Algorithm Hash digest
SHA256 06704dc05658282975c5eee5f30b874badcab0746f7d823fe9764b439f2e0718
MD5 d6f077bbd8c93239b3e2916709927050
BLAKE2b-256 80d2130aa7181ffbf7ae106fe0a407c170c936410de8eb54352614f4783628f8

See more details on using hashes here.

File details

Details for the file subscene2-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: subscene2-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for subscene2-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 466bb43f6ce9344170b5096e528f502ad2ca1f16b18662721a21516b1fd53a13
MD5 39f8f534161a251f9e311644af50bd19
BLAKE2b-256 9da9763e1796a7bae37f0b0094ca666e05f54af4072db62fba99b82bba1abbc6

See more details on using hashes here.

Supported by

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