Some errors in API's
Some errors in API's
In Rapidshare:
In line 99, which says:
'http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=checkfiles_v1&files =% d & filename =% s',
should say:
'http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=checkfiles&files =% d & filename =% s',
There were changes in the API and did not work.
In Mediafire:
At line 89, which says:
if (strpos ($ rez ['headers'] ['location'], 'errno = 320')! == false) {
It should say:
if (strpos ($ rez ['headers'] ['location'], 'errno = 328')! == false) {
But does not work.
Thank you very much for a good plug-in .!!!!!
Translated with Google, sorry if it is not accurate.
En Español:
Algunos errores en API's
En Rapidshare:
En la linea 99, donde dice:
'http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=checkfiles_v1&files=%d&filenames=%s',
deberia decir:
'http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=checkfiles&files=%d&filenames=%s',
Hubo cambios en la API y por eso no funcionaba.
En Mediafire:
En la linea 89, donde dice:
if ( strpos($rez['headers']['location'], 'errno=320') !== false ){
Deberia decir:
if ( strpos($rez['headers']['location'], 'errno=328') !== false ){
Sino no funciona.
Muchas gracias por tan buen plug-in.!!!!!
Fixed in the development version. The fix will also be included in the next release.
-
dj juan commented
thank you very much!
-
dj juan commented
correction:
Rapidshare API does not work, either because it is not, I think it has to do with this IF:
$result['http_code'] = intval($rez['response']['code']);
if ( $result['http_code'] == 200 ){
//200 - OK
$result['broken'] = false;
$result['log'] .= "File OK";He always gives 200
Please review. thank you very much