wwwDomain = false; // Switch to true if filehost forces it's domain with www. $this->cname = 'xfss'; // Session cookie name $this->sslLogin = false; // Force https on login. $this->embedDL = false; // Try to unpack player's js for finding download link. (Only hosts with video player) $this->unescaper = false; // Enable JS unescape decoder. $this->customDecoder = true; // Enable pageDecoder() $this->Start($link); } // Remove player links protected function pageDecoder() { if (strpos($this->page, "jwplayer('container').setup({") !== false) { // Removing the http will avoid to be catched by the download regexp and download with a wrong name. $this->page = str_replace("file: 'http", "file: 'xxxx", $this->page, $count); return ($count > 0 ? true : false); } return false; } } // Written by Th3-822. ?>