Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (!defined('RAPIDLEECH')) {
- require_once("index.html");
- exit;
- }
- class demo_ovh_eu extends DownloadClass {
- public function Download($link) {
- $page = $this->GetPage($link);
- if (preg_match('@^HTTP/1\.[0|1] 404 Not Found@i', $page)) html_error('File Not Found');
- if (!preg_match('@href="/(download/\w+/[^\"]+)"@i', $page, $dl)) html_error('Download link Not Found');
- $filename = urldecode(basename($dl[1]));
- $dl = "http://demo.ovh.eu/".$dl[1];
- $this->RedirectDownload($dl, $filename);
- }
- }
- // [11-3-2012] Written by Th3-822.
- // [08-11-2013] Modify by Titeuf
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement