Changes between Version 77 and Version 78 of XMLRPC


Ignore:
Timestamp:
Nov 2, 2014, 3:54:58 PM (9 years ago)
Author:
os
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XMLRPC

    v77 v78  
    1818 * PHP: for gzip compression use function which adds no header to output, [http://www.php.net/manual/en/function.gzcompress.php gzcompress]. For decompression is used [http://www.php.net/gzuncompress gzdecompress].
    1919 * PHP: if you download subtitles from XML-RPC, use: gzinflate(substr(base64_decode($subs_b64_data_from_xmlrpc),10)), if gz from web: gzinflate(substr($gz_subtitles),10); 
    20  * if you get '''407 Download limit reached''', do not use persistent connections (HTTP keep-alive) and don't download more than 200 subtitles per 24 hour
     20 * Handle properly HTTP status codes, sometimes you might get 5xx
     21 * if you get '''407 Download limit reached''', do not use persistent connections (HTTP keep-alive) and don't download more than 200 subtitles per 24 hour per IP/User. If user wants more, he can [http://www.opensubtitles.org/en/support#vip Donate]
    2122 * you may be interested in more verbose version of [wiki:XmlRpcIntro XML-RPC methods with examples]
    2223 * if you want search uploads by useragent, use this link: http://www.opensubtitles.org/search/sublanguageid-all/useragent-$UserAgent