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.

Files for subscene2, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size subscene2-1.0.2-py3-none-any.whl (5.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size subscene2-1.0.2.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page