Edited by RayzerXXVI, 24 January 2012 - 02:50 AM.
Vinaget Download Plugins
Started by afterburn, Sep 09 2011 09:43 AM
517 replies to this topic
#455
Posted 27 January 2012 - 08:21 AM
Update plugin: zippyshare.com
<?php
if (preg_match('#^http:\/\/(www)?([0-9].+)(\.)?zippyshare.com/#', $url)) {
if(strpos($url,"www")==false) $url = str_replace("http://", "http://www.", $url);
$page = $this->curl($url,"","");
$this->cookie = $this->GetCookies($page);
if (preg_match_all("#var (\w) = (\d+);#", $page, $temp)) {
$a=$temp[2][0];
$b=$temp[2][1];
$a=floor($temp[2][0]/3);
$link=str_replace("/v/", "/d/", $link);
$link=str_replace("file.html", $a+$temp[2][0]%$temp[2][1], $link);
$link.=$temp[2];
}
else if (preg_match("/url: '([^']+)', seed: (\d+)}/i", $page, $L)) {
$link = $L[1] . "&time=" . $L[2]*3 % 1424574;
}
else if (preg_match("/var a = ([0-9]+)%([0-9]+);\s+var b = ([0-9]+)%([0-9]+);\s+.+\/(.+)\";/", $page, $L)) {
$link=str_replace("/v/", "/d/", $link);
$link=str_replace("file.html", (($L[1] % $L[2]) * ($L[3] % $L[4])) + 19 . "/" . $L[5], $link);
}
else if (preg_match('/\/([0-9]+)\/"\+\(([0-9]+)\%([0-9]+) \+ ([0-9]+)\%([0-9]+)\)\+"\/(.+)";/', $page, $L)) {
$server = $this->cut_str($url,'http://','.zippyshare.com');
$link = "http://" . $server . ".zippyshare.com/d/" . $L[1] . "/" . (($L[2]%$L[3])+($L[4]%$L[5])) . "/" . $L[6];
}
else if (preg_match('/var.+= ([0-9]+) (.+) ([0-9]+);\s+var.+[a-z] (.+) ([0-9]+);\s+var.+[a-z] (.+) ([0-9]+);\s+.+\/d\/([0-9]+)\/.+\/(.+)";/', $page, $L)) {
$server = $this->cut_str($url,'http://','.zippyshare.com');
$n = $L[1] + $L[3];
$b = $n - $L[5];
$z = $b - $L[7];
$link = "http://" . $server . ".zippyshare.com/d/" . $L[8] . "/" . $z . "/" . $L[9];
}
if($link){
$size_name = Tools_get::size_name($link, $this->cookie);
if(preg_match('%<title>Zippyshare.com - (.*)</title>%U', $page, $matches)) $filename = $matches[1];
else $filename = $size_name[1];
$filesize = $size_name[0];
$this->max_size = $this->max_size_other_host;
}
}
/*
* Home page: http://vinaget.us
* Blog: http://blog.vinaget.us
* Script Name: Vinaget
* Version: 2.6.2
* Created: ..:: [H] ::..
* Note: Convert from rapidleech zippyshare_com plugin of vdhdevi,defport,motor
*/
?>
Attached File(s)
-
zippyshare_com.php (2.04K)
Number of downloads: 17
Give plenty of what is given to you,
And listen to pity's call;
Don't think the little you give is great
And the much you get is small.
PHOEBE CARY
#458
Posted 28 January 2012 - 06:26 AM
RapidLeech PlugMod (eqbal) rev. 43 Pre Release
#465
Posted 07 February 2012 - 02:35 PM
Fast-debrid is working fine ==> server.vietget.net















