python-opensubtitles icon indicating copy to clipboard operation
python-opensubtitles copied to clipboard

A python wrapper for the opensubtitles API

Results 9 python-opensubtitles issues
Sort by recently updated
recently updated
newest added

I try to search subtitles by moviehash and moviebytesize: `ost.search_subtitles([{'sublanguageid':language, 'moviehash':movie_hash, 'moviebytesize':movie_bytesize}])` If parameter movie_bytesize > 2147483647 (int32) - then I get this error: OverflowError('int exceeds XML-RPC limits') But if...

The detect function can't always guess the right encoding, so the decompress methods falls back to 'utf-8' and ignoring the errors. Therefore the latin chars get discarded. There should be...

Hello there, I have issues uploading subtitles, my code is simple: ``` ... if not already_in_db: params = {'baseinfo': { 'idmovieimdb': imdb_id }, 'cd1': { 'subhash': sub_hash, 'subfilename': filename, 'subcontent':...

Hi, When I use the example provided, I get this error: `Traceback (most recent call last): File "subtitles.py", line 10, in id_subtitle_file = data[0].get('IDSubtitleFile') IndexError: list index out of range`...

The pip package is currently broken on python3 because the latest release spans back to [Sep 29, 2015](https://pypi.org/project/python-opensubtitles/#history), while the python3 support has been introduced on [Nov 8, 2015](https://github.com/agonzalezro/python-opensubtitles/commit/af012056c3578dad2d58474d181ee5692abefd71). Is...

After #18 is done these tests should be run for each PR and merge for python 2.x and python 3.x. Not sure about which platform use, there are several options:...

help-wanted

Hi there, are you still planning to implement the API calls that are currently not implemented? I was wondering about that because yours seems to be the most popular wrapper...

help-wanted

The [README.md](README.md) has tests but they are not mocked so it makes them kinda useless if you don't have the film it's referring. Those tests should be mocked and moved...

help-wanted