Subscene-API
Unofficial Python API for Subscene subtitle database.
Usage
-
Clone the repo:
$ git clone https://github.com/mamins1376/Subscene-API subscene
-
Install dependencies:
$ cd subscene && sudo pip install -r requirements.txt
-
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!