protected function executeInternal($deep)
 {
     $stop = false;
     $url = VarTable::ParseVariables($this->iData);
     // $url = $this->iData;
     $old = "";
     $this->bData = "";
     $this->page_num = 1;
     do {
         if (stripos(trim($url), "http://") === 0) {
             $this->oData = $this->loadText($url);
         } else {
             $this->oData = $this->read($url);
         }
         if ($deep) {
             $this->executeChild();
         } else {
             $this->bData = $this->oData;
         }
         $old = $url;
         $url = $this->findURL();
         $stop = $url == "" || $url == $old && $this->do_equal;
         $this->page_num++;
     } while ($stop == false);
 }
예제 #2
0
 protected function executeInternal($deep)
 {
     $this->oData = VarTable::ParseVariables($this->text);
     if ($deep) {
         $this->executeChild();
     } else {
         $this->bData = $this->oData;
     }
 }
 protected function executeInternal($deep)
 {
     $cookies = VarTable::ParseVariables($this->text);
     CookieSorage::getInstance()->cookies = $cookies;
     // file_put_contents(ScriptLoadAction::$cookie_file_name, $cooks);
     $this->oData = $this->iData;
     if ($deep) {
         $this->executeChild();
     } else {
         $this->bData = $this->oData;
     }
 }