4shared soap api based grabber with search by extension !

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • shijilt1234
    replied
    It is not working now ... says
    this file is not available ....

    Please upload a fixed script.

    Leave a comment:


  • shijilt1234
    replied
    It is not working now ... says
    This file is not available

    Please upload a fixed script.

    Leave a comment:


  • shijilt1234
    replied
    It is not working now ... says

    "HTTP/1.1 403 Forbidden This file is not available !"

    Please upload a fixed script.

    Leave a comment:


  • Djnadeem
    replied
    how to use rest api

    Leave a comment:


  • Freddynic159
    replied
    @razib: the only way to get the direct link is using the REST API.

    Leave a comment:


  • razib
    replied
    damn....
    its not working anymore!

    Leave a comment:


  • Freddynic159
    replied
    I found the javascript that displays the count of 20 seconds.

    you just have to add the file ID "fid"... for example:

    http://www.4shared.com/mobile.root/pageDownload1/includes/secondsLeft.jsp?secondsLeft=0&fid=HjdajDQA

    I tried to make a grabber but it is impossible.

    direct link has this structure, for example:

    http://dc123.4shared.com/download/fileID/fileName?tsid=xxxxxxxxxx&lgfp=8000

    but do not know how to get the download center "dc123" and "tsid".
    Last edited by Freddynic159; 20.03.14, 13:34.

    Leave a comment:


  • Freddynic159
    replied
    SOAP API doesn't work anymore.

    I will try to make a new grabber.

    Leave a comment:


  • Djnadeem
    replied
    If any one extract sid, dsid, tsid from file id then it may be work..

    Leave a comment:


  • Freddynic159
    replied
    @just_m3: when "getDirectLink" function is used, this api only returns the normal link like this: http://www.4shared.com/(type)/(fileID)/(name).htm

    Hopefully soon to work properly.

    Leave a comment:


  • just_m3.
    replied
    Just to let you know ...

    It seems that 4shared is changing some things on their api ,
    they are having major issues with "shared" files , and i think their api will require new settings such as an app id or something ,
    there are too many grabbers based on the api they shared , also the new api url is pointing at
    Code:
    https://api.4shared.com/jax3/DesktopApp?wsdl
    previous was
    Code:
    http://api.4shared.com/servlet/services/DesktopApp?wsdl
    , we need to wait untill everything gets "finished" , you can change your api link to the new one .

    I'm posting this because few days ago i saw some message complaining about the forbiden message which the api returns .

    Leave a comment:


  • gammz
    replied
    Originally posted by yar View Post
    download.php script does not work

    download.php script does not work. share the finished bro
    scripts are given just_m3 still works well

    PHP Code:
    <?php 
    ###################### 
    ## forged on gowap.ro# 
    ###################### 

    require_once'config.php'; 
    require_once
    'functions.php'; 

    $formeruri='http://www.4shared.com/mp3/'.$_GET['id'].'/'.$_GET['mod'].'.html'; 

    # get direct download link 
    $client = new SoapClient("http://api.4shared.com/servlet/services/DesktopApp?wsdl"); 

    $dlid = $client->getDirectLink(LOGIN,PASSWORD,$formeruri); 
    $id = $client->decodeLink(LOGIN,PASSWORD,$formeruri); 
    $info = $client->getFileInfo(LOGIN,PASSWORD,$id); 

    $regx=array('|\[(.*?)]|i','|\((.*?)\)|i','|www(.*?)$|i'); 
          
    $nume_fisier=preg_replace($regx,'',utf8_format($info->name)); 

    /// check if 302 and switch $url to header location  
    /// otherwise use $dlid former url got from api 
    $head = array_change_key_case(get_headers($dlid, TRUE)); 
    /// switch here 
    if(!empty($head['location'])){$dlid=$head['location'];}  
    ## if the $url is file location we force to get 200 ok  
    ## the $url location from header must also return 200 ok 
    $status=get_headers($dlid); 

    echo 
    $status[0]."&nbsp;&nbsp;&nbsp;&nbsp;";  

    if(
    $status[0]=="HTTP/1.1 200 OK") { 

    echo
    '&nbsp;<a href="'.htmlspecialchars($dlid).'">'.$nume_fisier.' ['.format_bytes($info->size).'] </a><br/>'; 

    } 

    /* 
    ## we use else statement if header is not 200 ok  
    ## this works if they modify the header other than 302 or 200 
    ## it will work fine but you will not be able to stop the user  
    ## for beeing redirected if the file doesn't exist anymore . 

    ## uncomment if you want to use it ! 

    else { 
    echo'&nbsp;<a href="'.htmlspecialchars($dlid).'">'.$nume_fisier.' ['.format_bytes($info->size).'] </a><br/>'; 
    } 
    */ 

    ## comment this line if you want to use the upper one ! 
    else { 
    echo
    "<h1>This file is not available !</h1>"; 
    } 

    ?>
    for demo: http://gruls.tk/dldl.php?id=h7ZMNvYB
    masih bisa broooo...

    Leave a comment:


  • yar
    replied
    download.php script does not work

    download.php script does not work. share the finished bro
    Last edited by yar; 25.11.13, 18:08.

    Leave a comment:


  • gammz
    replied
    Originally posted by shijilt1234 View Post
    Fisierul nu este disponibil reincarca pagina !

    Why this ? when trying to download a file ?
    its work for me..
    look Posted by just_m3.
    you can try that script...

    Leave a comment:


  • shijilt1234
    replied
    Fisierul nu este disponibil reincarca pagina !

    Fisierul nu este disponibil reincarca pagina !

    Why this ? when trying to download a file ?

    Leave a comment:

Working...
X