Skip to content

Method search_subtitles does not work if moviebytesize > 2147483647 (int32) (OverflowError) #49

@usilitel

Description

@usilitel

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 I run original opensubtitles.org API with same parameters - everything works fine.

I attached examples of request and response from http://api.opensubtitles.org/xml-rpc (token should be fresh).
Request to http://api.opensubtitles.org/xml-rpc: xml-rpc-request.zip
Response from http://api.opensubtitles.org/xml-rpc: xml-rpc-response.zip

I found similar question here:
https://stackoverflow.com/questions/72336127/python-robot-remote-server-overflowerror-int-exceeds-xml-rpc-limits
May be it will help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions