mirror of
https://github.com/hakasenyang/marumaru-php-parser
synced 2026-08-22 02:03:08 +09:00
@@ -51,7 +51,7 @@ Only error / message method use</p>
|
|||||||
|
|
||||||
cookieget:
|
cookieget:
|
||||||
$dd = $marumaru->FileRead();
|
$dd = $marumaru->FileRead();
|
||||||
if(!$dd || explode(PHP_EOL, $dd)[0] < time())
|
if(!$dd || explode(PHP_EOL, $dd)[0] < time() || $tmp > 1 || $tmp2 > 3)
|
||||||
{
|
{
|
||||||
$cookie = $marumaru->GetCookie();
|
$cookie = $marumaru->GetCookie();
|
||||||
if(!$cookie) $marumaru->ErrorEcho(2);
|
if(!$cookie) $marumaru->ErrorEcho(2);
|
||||||
@@ -77,12 +77,18 @@ startdata:
|
|||||||
if($caches > 5)
|
if($caches > 5)
|
||||||
$marumaru->ErrorEcho(3);
|
$marumaru->ErrorEcho(3);
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
$tmp2++;
|
||||||
goto startdata;
|
goto startdata;
|
||||||
|
}
|
||||||
if(stripos($data, 'You are being redirected...') !== false)
|
if(stripos($data, 'You are being redirected...') !== false)
|
||||||
if($caches > 2)
|
if($caches > 2)
|
||||||
$marumaru->ErrorEcho(1);
|
$marumaru->ErrorEcho(1);
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
$tmp++;
|
||||||
goto cookieget;
|
goto cookieget;
|
||||||
|
}
|
||||||
|
|
||||||
$jsonon = ($_GET['json'] == 1) ? true : false;
|
$jsonon = ($_GET['json'] == 1) ? true : false;
|
||||||
$aaa = explode('data-src="', $data);
|
$aaa = explode('data-src="', $data);
|
||||||
|
|||||||
Reference in New Issue
Block a user