It is not working now ... says
this file is not available ....
Please upload a fixed script.
4shared soap api based grabber with search by extension !
Collapse
X
-
It is not working now ... says
This file is not available
Please upload a fixed script.
Leave a comment:
-
It is not working now ... says
"HTTP/1.1 403 Forbidden This file is not available !"
Please upload a fixed script.
Leave a comment:
-
@razib: the only way to get the direct link is using the REST API.
Leave a comment:
-
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:
-
SOAP API doesn't work anymore.
I will try to make a new grabber.
Leave a comment:
-
If any one extract sid, dsid, tsid from file id then it may be work..
Leave a comment:
-
@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 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 atprevious wasCode:https://api.4shared.com/jax3/DesktopApp?wsdl
, we need to wait untill everything gets "finished" , you can change your api link to the new one .Code:http://api.4shared.com/servlet/services/DesktopApp?wsdl
I'm posting this because few days ago i saw some message complaining about the forbiden message which the api returns .
Leave a comment:
-
scripts are given just_m3 still works wellOriginally posted by yar View Postdownload.php script does not work
download.php script does not work. share the finished bro
for demo: http://gruls.tk/dldl.php?id=h7ZMNvYBPHP 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]." ";
if($status[0]=="HTTP/1.1 200 OK") {
echo' <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' <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>";
}
?>
masih bisa broooo...
Leave a comment:
-
Fisierul nu este disponibil reincarca pagina !
Fisierul nu este disponibil reincarca pagina !
Why this ? when trying to download a file ?
Leave a comment:

Leave a comment: