this module provide unofficial subscene.com api for python
Project description
Browse and Download from subscene.com with just a few lines of python
SubtitleAPI is a python package provide direct access to subscene.com content using scraping techniques! You can search for any subtitle you want to download , also add query filters to remove unwanted content!
Intsall SubtitleAPI using pip
pip install SubtitleAPI
Get Movie Subtitles:
from subtitleAPI import SubtitleAPI
subscene = SubtitleAPI('english','farsi/persian') # pass languages you want to have in results
subscene.movie(title='Tenet',year=2020,release_type='bluray')
subscene.download()
search IMdB ID
subscene.movie(imdb_id='6723592',release_type='bluray')
search for TV Shows
subscene.tvshow(title='Game of Thrones',release_type='bluray',season=2,episode=3)
# or
subscene.tvshow(imdb_id='0944947',release_type='bluray',season=2,episode=3)
export zip files After download is Finished !
this method extract all zip files.
subscene.download().extract()
some useful properties:
subscene.subtitles # all subtitle objects in memory
subscene.zip_files # downloaded zip files!
subscene.all_subtitle_files # all extracted subtitle files
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file subtitle-api-0.0.1.tar.gz.
File metadata
- Download URL: subtitle-api-0.0.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce2df2fba3b170301b51790f2d81484384a7fd15232433ff2d9d76072ab47b44
|
|
| MD5 |
dbc45cb6fc2e5d7cf08dd2b4d953c544
|
|
| BLAKE2b-256 |
bd1beca25bdc6c4f3e4752e543c3f6086a60a8dba0b65ab072266a6a6e4899f3
|
File details
Details for the file subtitle_api-0.0.1-py3-none-any.whl.
File metadata
- Download URL: subtitle_api-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
666b942eb771d50a6e7c0aaed165340a743ab671da71b6a46d970a8db3c47660
|
|
| MD5 |
865e1483e9179aae17bf7d05811adecd
|
|
| BLAKE2b-256 |
c319a64fa315b147c583bc664d553b90dc273525285d67a5e7d4c9f700fa846a
|