pannal / Subscene-API

Python API for Subscene subtitle service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Subscene-API

Unofficial Python API for Subscene subtitle database.

Usage

  1. Clone the repo:

    $ git clone https://github.com/mamins1376/Subscene-API subscene

  2. Install dependencies:

    $ cd subscene && sudo pip install -r requirements.txt

  3. Fire it:

$ python3
>>> import subscene
>>> film = subscene.search('Ex Machina')
>>> subtitle = film.subtitles[42]
>>> subtitle.url
'http://subscene.com/subtitles/ex-machina/arabic/1141161'
>>> subtitle.zipped_url
'http://subscene.com/subtitle/download?mac=xR_n9E9cIdBzvp4ayAVHV8N7lDHHWIpZarWcT4l_j0SG4x_qSGFVHKG26EdRzUUL0'

Have Fun!

About

Python API for Subscene subtitle service

License:GNU General Public License v3.0


Languages

Language:Python 100.0%