Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 954 Bytes

README.md

File metadata and controls

35 lines (29 loc) · 954 Bytes

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 subscene2.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 ❤️ by Rakibul Yeasin and Abdullah Zayed