from where you got that link ?
in SearchSubtitles() XMLRPC response is links like this even you are not logged in (empty username and password):
Code: Select all
[SubDownloadLink] => http://dl.opensubtitles.org/en/download/filead/src-api/vrf-ef3a1f1e6e/sid-f5d2c3grp3kle26jkt1m7b6et4/1954677189.gz
[ZipDownloadLink] => http://dl.opensubtitles.org/en/download/subad/src-api/vrf-411f923197/sid-f5d2c3grp3kle26jkt1m7b6et4/6097361
[SubtitlesLink] => http://www.opensubtitles.org/en/subtitles/6097361/sid-f5d2c3grp3kle26jkt1m7b6et4/insurgent-ro
Then you can pass subencoding parameter into it, but dont delete any other parameter. Example:
Code: Select all
http://dl.opensubtitles.org/en/download/subencoding-utf8/filead/src-api/vrf-ef3a1f1e6e/sid-f5d2c3grp3kle26jkt1m7b6et4/1954677189
http://dl.opensubtitles.org/en/download/subencoding-utf8/filead/src-api/vrf-ef3a1f1e6e/sid-f5d2c3grp3kle26jkt1m7b6et4/1954677189.gz
http://dl.opensubtitles.org/en/download/subformat-vtt/filead/src-api/vrf-ef3a1f1e6e/sid-f5d2c3grp3kle26jkt1m7b6et4/1954677189
for vtt format subencoding is always utf8. I will update trac. This functions are still in beta.