Th3-822

[rapidleech][d] vidhos_com

Nov 18th, 2015
435
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.94 KB | None | 0 0
  1. <?php
  2.  
  3. if (!defined('RAPIDLEECH')) {
  4.     require_once('index.html');
  5.     exit();
  6. }
  7.  
  8. if (!file_exists(HOST_DIR . 'download/GenericXFS_DL.php')) html_error('Cannot load "'.htmlentities(HOST_DIR).'download/GenericXFS_DL.php" (File doesn\'t exists)');
  9. require_once(HOST_DIR . 'download/GenericXFS_DL.php');
  10.  
  11. class vidhos_com extends GenericXFS_DL {
  12.     public $pluginVer = 9;
  13.     public function Download($link) {
  14.         $this->wwwDomain = false; // Switch to true if filehost forces it's domain with www.
  15.         $this->cname = 'xfss'; // Session cookie name
  16.         $this->sslLogin = false; // Force https on login.
  17.         $this->embedDL = true; // Try to unpack player's js for finding download link. (Only hosts with video player)
  18.         $this->unescaper = false; // Enable JS unescape decoder.
  19.  
  20.         // Custom Download Regexp
  21.         $this->DLregexp = '@https?://(?:[\w\-]+\.)+[\w\-]+(?:\:\d+)?/\w{60}/[^\'\"\t<>\r\n\\\]+@i';
  22.  
  23.         $this->Start($link);
  24.     }
  25. }
  26.  
  27. // Written by Th3-822.
  28.  
  29. ?>
Advertisement
Add Comment
Please, Sign In to add comment