mirror of
https://github.com/mirror/jdownloader.git
synced 2025-02-18 19:32:36 +00:00
-Mountfile.com: RIP
-Added free acc support for mediafire but download fails refs #4487 Jiaz or coa please finish that -Did some work on prtcmylinks refs #4764 the rest is for bismarck -Fixed voayeurs fixes #4795 git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@16464 ebf7c1c2-ba36-0410-9fe8-c592906822b4
This commit is contained in:
parent
e1829f97c8
commit
9dab4db48f
@ -766,4 +766,5 @@ jd/plugins/hoster/IshareIaskSinaComCn.class
|
||||
jd/plugins/decrypter/MgcMsCm.class
|
||||
jd/plugins/hoster/PlatinShareCom.class
|
||||
jd/plugins/decrypter/MyGkWs.class
|
||||
#jd/captcha/methods/prtctmylnkscm
|
||||
jd/captcha/methods/prtctmylnkscm
|
||||
jd/plugins/hoster/MountFileCom.class
|
@ -19,15 +19,22 @@ package jd.plugins.decrypter;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import jd.PluginWrapper;
|
||||
import jd.controlling.AccountController;
|
||||
import jd.controlling.ProgressController;
|
||||
import jd.gui.UserIO;
|
||||
import jd.http.URLConnectionAdapter;
|
||||
import jd.parser.Regex;
|
||||
import jd.plugins.Account;
|
||||
import jd.plugins.CryptedLink;
|
||||
import jd.plugins.DecrypterException;
|
||||
import jd.plugins.DecrypterPlugin;
|
||||
import jd.plugins.DownloadLink;
|
||||
import jd.plugins.PluginException;
|
||||
import jd.plugins.PluginForDecrypt;
|
||||
import jd.plugins.PluginForHost;
|
||||
import jd.plugins.hoster.MediafireCom;
|
||||
import jd.utils.JDUtilities;
|
||||
import jd.utils.locale.JDL;
|
||||
|
||||
@DecrypterPlugin(revision = "$Revision$", interfaceVersion = 2, names = { "mediafire.com" }, urls = { "http://[\\w\\.]*?(?!download)[\\w\\.]*?(mediafire\\.com|mfi\\.re)/(imageview.+|i/\\?.+|\\\\?sharekey=.+|(?!download|file|\\?JDOWNLOADER|imgbnc\\.php).+)" }, flags = { 0 })
|
||||
public class MdfrFldr extends PluginForDecrypt {
|
||||
@ -74,6 +81,14 @@ public class MdfrFldr extends PluginForDecrypt {
|
||||
}
|
||||
br.setFollowRedirects(false);
|
||||
br.getPage(parameter);
|
||||
// Private link? Login needed!
|
||||
if (br.getRedirectLocation() != null && br.getRedirectLocation().contains("error.php?errno=999")) {
|
||||
if (!getUserLogin()) {
|
||||
logger.info("Wrong logindata entered, stopping...");
|
||||
return decryptedLinks;
|
||||
}
|
||||
br.getPage(parameter);
|
||||
}
|
||||
if (br.getRedirectLocation() != null) {
|
||||
/* check for direct download stuff */
|
||||
String red = br.getRedirectLocation();
|
||||
@ -146,6 +161,28 @@ public class MdfrFldr extends PluginForDecrypt {
|
||||
return decryptedLinks;
|
||||
}
|
||||
|
||||
private boolean getUserLogin() throws Exception {
|
||||
final PluginForHost hosterPlugin = JDUtilities.getPluginForHost("mediafire.com");
|
||||
Account aa = AccountController.getInstance().getValidAccount(hosterPlugin);
|
||||
if (aa == null) {
|
||||
String username = UserIO.getInstance().requestInputDialog("Enter Loginname for " + this.getHost() + " :");
|
||||
if (username == null) throw new DecrypterException(JDL.L("plugins.decrypter.mdfrfldr.nousername", "Username not entered!"));
|
||||
String password = UserIO.getInstance().requestInputDialog("Enter password for " + this.getHost() + " :");
|
||||
if (password == null) throw new DecrypterException(JDL.L("plugins.decrypter.mdfrfldr.nopassword", "Password not entered!"));
|
||||
aa = new Account(username, password);
|
||||
}
|
||||
try {
|
||||
((MediafireCom) hosterPlugin).login(br, aa);
|
||||
} catch (final PluginException e) {
|
||||
aa.setEnabled(false);
|
||||
aa.setValid(false);
|
||||
return false;
|
||||
}
|
||||
// Account is valid, let's just add it
|
||||
AccountController.getInstance().addAccount(hosterPlugin, aa);
|
||||
return true;
|
||||
}
|
||||
|
||||
private static synchronized String unescape(final String s) {
|
||||
/* we have to make sure the youtube plugin is loaded */
|
||||
if (pluginloaded == false) {
|
||||
|
@ -59,14 +59,15 @@ public class PrtcMyLnksCm extends PluginForDecrypt {
|
||||
final String fpName = br.getRegex("<title>Download ([^<>\"]*?)</title>").getMatch(0);
|
||||
Browser ajaxBr = br.cloneBrowser();
|
||||
ajaxBr.getHeaders().put("X-Requested-With", "XMLHttpRequest");
|
||||
PluginForHost recplug = JDUtilities.getPluginForHost("DirectHTTP");
|
||||
jd.plugins.hoster.DirectHTTP.Recaptcha rc = ((DirectHTTP) recplug).getReCaptcha(br);
|
||||
final String gonum = br.getRegex("\\'\\&gonum=(\\d+)\\',").getMatch(0);
|
||||
final String rcID = br.getRegex("Recaptcha\\.create\\(\"([^<>\"]*?)\"").getMatch(0);
|
||||
ajaxBr.getPage("http://protect-my-links.com" + capPage);
|
||||
final String gonum = ajaxBr.getRegex("\\'\\&gonum=(\\d+)\\',").getMatch(0);
|
||||
final String rcID = ajaxBr.getRegex("Recaptcha\\.create\\(\"([^<>\"]*?)\"").getMatch(0);
|
||||
if (rcID == null || gonum == null) {
|
||||
logger.warning("Decrypter broken for link: " + parameter);
|
||||
return null;
|
||||
}
|
||||
PluginForHost recplug = JDUtilities.getPluginForHost("DirectHTTP");
|
||||
jd.plugins.hoster.DirectHTTP.Recaptcha rc = ((DirectHTTP) recplug).getReCaptcha(br);
|
||||
rc.setId(rcID);
|
||||
rc.load();
|
||||
for (int i = 0; i <= 5; i++) {
|
||||
@ -80,6 +81,18 @@ public class PrtcMyLnksCm extends PluginForDecrypt {
|
||||
break;
|
||||
}
|
||||
if (br.containsHTML(">Captcha not valid<")) throw new DecrypterException(DecrypterException.CAPTCHA);
|
||||
final String gotoPage = ajaxBr.getRegex("\"goto\":\"([^<>\"]*?)\"").getMatch(0);
|
||||
if (gotoPage == null) {
|
||||
logger.warning("Decrypter broken for link: " + parameter);
|
||||
return null;
|
||||
}
|
||||
br.getPage("http://protect-my-links.com" + gotoPage.replace("\\", ""));
|
||||
System.out.println(br.toString());
|
||||
final String c = br.getRegex("<script language=javascript>c=\"(.*?)\"\\);</script>").getMatch(0);
|
||||
if (c == null) {
|
||||
logger.warning("Decrypter broken for link: " + parameter);
|
||||
return null;
|
||||
}
|
||||
if (true) {
|
||||
logger.warning("Decrypter not yet fixed, site is buggy!");
|
||||
return null;
|
||||
|
@ -17,6 +17,7 @@
|
||||
package jd.plugins.decrypter;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import jd.PluginWrapper;
|
||||
import jd.controlling.ProgressController;
|
||||
@ -39,21 +40,37 @@ public class VoaYeursCom extends PluginForDecrypt {
|
||||
br.setFollowRedirects(false);
|
||||
String parameter = param.toString();
|
||||
br.getPage(parameter);
|
||||
String tempID = br.getRedirectLocation();
|
||||
if (tempID != null && tempID.length() < 40) throw new DecrypterException(JDL.L("plugins.decrypt.errormsg.unavailable", "Perhaps wrong URL or the download is not available anymore."));
|
||||
if (tempID != null) {
|
||||
DownloadLink dl = createDownloadlink(tempID);
|
||||
String externID = br.getRedirectLocation();
|
||||
if (externID != null && externID.length() < 40) throw new DecrypterException(JDL.L("plugins.decrypt.errormsg.unavailable", "Perhaps wrong URL or the download is not available anymore."));
|
||||
if (externID != null) {
|
||||
DownloadLink dl = createDownloadlink(externID);
|
||||
decryptedLinks.add(dl);
|
||||
return decryptedLinks;
|
||||
}
|
||||
tempID = br.getRegex("redtube\\.com/player/\"><param name=\"FlashVars\" value=\"id=(\\d+)\\&").getMatch(0);
|
||||
if (tempID == null) tempID = br.getRegex("embed\\.redtube\\.com/player/\\?id=(\\d+)\\&").getMatch(0);
|
||||
if (tempID != null) {
|
||||
DownloadLink dl = createDownloadlink("http://www.redtube.com/" + tempID);
|
||||
externID = br.getRegex("redtube\\.com/player/\"><param name=\"FlashVars\" value=\"id=(\\d+)\\&").getMatch(0);
|
||||
if (externID == null) externID = br.getRegex("embed\\.redtube\\.com/player/\\?id=(\\d+)\\&").getMatch(0);
|
||||
if (externID != null) {
|
||||
DownloadLink dl = createDownloadlink("http://www.redtube.com/" + externID);
|
||||
decryptedLinks.add(dl);
|
||||
return decryptedLinks;
|
||||
}
|
||||
if (tempID == null) {
|
||||
externID = br.getRegex("madthumbs\\.com%2Fvideos%2Fembed_config%3Fid%3D(\\d+)").getMatch(0);
|
||||
if (externID != null) {
|
||||
DownloadLink dl = createDownloadlink("http://www.madthumbs.com/videos/amateur/" + new Random().nextInt(100000) + "/" + externID);
|
||||
decryptedLinks.add(dl);
|
||||
return decryptedLinks;
|
||||
}
|
||||
externID = br.getRegex("xvideos\\.com/embedframe/(\\d+)\"").getMatch(0);
|
||||
if (externID != null) {
|
||||
decryptedLinks.add(createDownloadlink("http://www.xvideos.com/video" + externID));
|
||||
return decryptedLinks;
|
||||
}
|
||||
externID = br.getRegex("\"(http://(www\\.)?tube8\\.com/embed/[^<>\"/]*?/[^<>\"/]*?/\\d+/?)\"").getMatch(0);
|
||||
if (externID != null) {
|
||||
decryptedLinks.add(createDownloadlink(externID.replace("tube8.com/embed", "tube8.com/")));
|
||||
return decryptedLinks;
|
||||
}
|
||||
if (externID == null) {
|
||||
logger.warning("Couldn't decrypt link: " + parameter);
|
||||
return null;
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ public class HowFileCom extends PluginForHost {
|
||||
dl.startDownload();
|
||||
}
|
||||
|
||||
// Works like MountFileCom and YonFileCom
|
||||
// Works like YunFileCom
|
||||
@Override
|
||||
public AvailableStatus requestFileInformation(DownloadLink link) throws IOException, PluginException {
|
||||
this.setBrowserExclusive();
|
||||
|
@ -209,7 +209,7 @@ public class MediafireCom extends PluginForHost {
|
||||
/* reset maxPrem workaround on every fetchaccount info */
|
||||
maxPrem.set(1);
|
||||
try {
|
||||
this.login(account);
|
||||
this.login(br, account);
|
||||
} catch (final PluginException e) {
|
||||
account.setValid(false);
|
||||
return ai;
|
||||
@ -485,7 +485,7 @@ public class MediafireCom extends PluginForHost {
|
||||
@Override
|
||||
public void handlePremium(final DownloadLink downloadLink, final Account account) throws Exception {
|
||||
this.requestFileInformation(downloadLink);
|
||||
this.login(account);
|
||||
this.login(br, account);
|
||||
if (account.getBooleanProperty("freeaccount")) {
|
||||
doFree(downloadLink, account);
|
||||
} else {
|
||||
@ -607,25 +607,25 @@ public class MediafireCom extends PluginForHost {
|
||||
Browser.setRequestIntervalLimitGlobal(this.getHost(), 250);
|
||||
}
|
||||
|
||||
public void login(final Account account) throws Exception {
|
||||
public void login(final Browser br, final Account account) throws Exception {
|
||||
boolean red = br.isFollowingRedirects();
|
||||
try {
|
||||
this.setBrowserExclusive();
|
||||
this.br.setFollowRedirects(true);
|
||||
this.br.getPage("http://www.mediafire.com/");
|
||||
Form form = this.br.getFormbyProperty("name", "form_login1");
|
||||
br.setFollowRedirects(true);
|
||||
br.getPage("http://www.mediafire.com/");
|
||||
Form form = br.getFormbyProperty("name", "form_login1");
|
||||
if (form == null) {
|
||||
form = this.br.getFormBySubmitvalue("login_email");
|
||||
form = br.getFormBySubmitvalue("login_email");
|
||||
}
|
||||
if (form == null) { throw new PluginException(LinkStatus.ERROR_PLUGIN_DEFECT); }
|
||||
form.put("login_email", Encoding.urlEncode(account.getUser()));
|
||||
form.put("login_pass", Encoding.urlEncode(account.getPass()));
|
||||
this.br.submitForm(form);
|
||||
this.br.getPage("http://www.mediafire.com/myfiles.php");
|
||||
final String cookie = this.br.getCookie("http://www.mediafire.com", "user");
|
||||
br.submitForm(form);
|
||||
br.getPage("http://www.mediafire.com/myfiles.php");
|
||||
final String cookie = br.getCookie("http://www.mediafire.com", "user");
|
||||
if ("x".equals(cookie) || cookie == null) throw new PluginException(LinkStatus.ERROR_PREMIUM, PluginException.VALUE_ID_PREMIUM_DISABLE);
|
||||
if (MediafireCom.CONFIGURATION_KEYS.get(account) == null) {
|
||||
this.br.getPage("http://www.mediafire.com/myaccount/download_options.php?enable=1");
|
||||
br.getPage("http://www.mediafire.com/myaccount/download_options.php?enable=1");
|
||||
if (br.containsHTML("setCustomVar\\',1,\\'UserType\\',\\'registered\\']")) {
|
||||
account.setProperty("freeaccount", true);
|
||||
} else {
|
||||
|
@ -1,123 +0,0 @@
|
||||
//jDownloader - Downloadmanager
|
||||
//Copyright (C) 2009 JD-Team support@jdownloader.org
|
||||
//
|
||||
//This program is free software: you can redistribute it and/or modify
|
||||
//it under the terms of the GNU General Public License as published by
|
||||
//the Free Software Foundation, either version 3 of the License, or
|
||||
//(at your option) any later version.
|
||||
//
|
||||
//This program is distributed in the hope that it will be useful,
|
||||
//but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
//GNU General Public License for more details.
|
||||
//
|
||||
//You should have received a copy of the GNU General Public License
|
||||
//along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
package jd.plugins.hoster;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import jd.PluginWrapper;
|
||||
import jd.http.RandomUserAgent;
|
||||
import jd.parser.Regex;
|
||||
import jd.plugins.DownloadLink;
|
||||
import jd.plugins.DownloadLink.AvailableStatus;
|
||||
import jd.plugins.HostPlugin;
|
||||
import jd.plugins.LinkStatus;
|
||||
import jd.plugins.PluginException;
|
||||
import jd.plugins.PluginForHost;
|
||||
|
||||
import org.appwork.utils.formatter.SizeFormatter;
|
||||
|
||||
@HostPlugin(revision = "$Revision$", interfaceVersion = 2, names = { "mountfile.com" }, urls = { "http://[\\w\\.]*?mountfile\\.com/file/[a-z0-9]+/[a-z0-9]+" }, flags = { 0 })
|
||||
public class MountFileCom extends PluginForHost {
|
||||
private static final String MAINPAGE = "http://mountfile.com/";
|
||||
|
||||
// YunFileCom uses the same script
|
||||
public MountFileCom(PluginWrapper wrapper) {
|
||||
super(wrapper);
|
||||
}
|
||||
|
||||
public void correctDownloadLink(DownloadLink link) {
|
||||
link.setUrlDownload(link.getDownloadURL().replace("share.", ""));
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getAGBLink() {
|
||||
return "http://www.mountfile.com/user/terms.html";
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxSimultanFreeDownloadNum() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleFree(DownloadLink downloadLink) throws Exception, PluginException {
|
||||
requestFileInformation(downloadLink);
|
||||
String bigWaittime = br.getRegex("id=\"down_interval\">(\\d+)</span>").getMatch(0);
|
||||
if (bigWaittime == null) bigWaittime = br.getRegex("style=\"font-size: 28px; color: green;\">(\\d+)</span> minutes</span>").getMatch(0);
|
||||
if (bigWaittime != null) throw new PluginException(LinkStatus.ERROR_IP_BLOCKED, Integer.parseInt(bigWaittime) * 60 * 1001l);
|
||||
if (br.containsHTML(">You reached your hourly traffic limit")) throw new PluginException(LinkStatus.ERROR_IP_BLOCKED, 60 * 60 * 1001l);
|
||||
// The little waittime is skippable atm.
|
||||
// int waitThis = 30;
|
||||
// String littleWaittime =
|
||||
// br.getRegex(">\\ \\ (\\d+) seconds").getMatch(0);
|
||||
// if (littleWaittime != null) {
|
||||
// logger.info("Regexed waittime: " + littleWaittime + " seconds");
|
||||
// waitThis = Integer.parseInt(littleWaittime);
|
||||
// }
|
||||
// sleep(waitThis * 1001l, downloadLink);
|
||||
String userid = new Regex(downloadLink.getDownloadURL(), "mountfile\\.com/file/(.*?)/").getMatch(0);
|
||||
String fileid = new Regex(downloadLink.getDownloadURL(), "mountfile\\.com/file/.*?/(.+)").getMatch(0);
|
||||
if (userid == null || fileid == null) throw new PluginException(LinkStatus.ERROR_PLUGIN_DEFECT);
|
||||
br.getPage("http://mountfile.com/file/down/" + userid + "/" + fileid + ".html");
|
||||
String vid = br.getRegex("name=\"vid\" value=\"(.*?)\"").getMatch(0);
|
||||
String vid1 = br.getRegex("setCookie\\(\"vid1\", \"(.*?)\"").getMatch(0);
|
||||
String vid2 = br.getRegex("setCookie\\(\"vid2\", \"(.*?)\"").getMatch(0);
|
||||
if (vid == null || vid1 == null || vid2 == null) throw new PluginException(LinkStatus.ERROR_PLUGIN_DEFECT);
|
||||
// Those cookies are important, no downloadstart without them!
|
||||
br.setCookie(MAINPAGE, "vid1", vid1);
|
||||
br.setCookie(MAINPAGE, "vid2", vid2);
|
||||
String postData = "module=fileService&action=downfile&userId=" + userid + "&fileId=" + fileid + "&vid=" + vid;
|
||||
dl = jd.plugins.BrowserAdapter.openDownload(br, downloadLink, "http://dl1.mountfile.com/view", postData, false, 1);
|
||||
if (dl.getConnection().getContentType().contains("html")) {
|
||||
br.followConnection();
|
||||
long wait = 60 * 60 * 1000l;
|
||||
if (br.containsHTML("You reached your hourly traffic limit.")) {
|
||||
String waitTimer = br.getRegex("You can wait download for.*?\">(\\d+)<").getMatch(0);
|
||||
if (waitTimer != null) wait = Long.parseLong(waitTimer) * 60 * 1000l;
|
||||
throw new PluginException(LinkStatus.ERROR_IP_BLOCKED, wait);
|
||||
}
|
||||
throw new PluginException(LinkStatus.ERROR_PLUGIN_DEFECT);
|
||||
}
|
||||
dl.startDownload();
|
||||
}
|
||||
|
||||
// Works like HowFileCom and YunFileCom
|
||||
@Override
|
||||
public AvailableStatus requestFileInformation(DownloadLink link) throws IOException, PluginException {
|
||||
this.setBrowserExclusive();
|
||||
br.getHeaders().put("User-Agent", RandomUserAgent.generate());
|
||||
br.setCookie("http://mountfile.com/", "language", "en_us");
|
||||
br.getPage(link.getDownloadURL());
|
||||
if (br.containsHTML("File not found or System under maintanence\\.")) throw new PluginException(LinkStatus.ERROR_FILE_NOT_FOUND);
|
||||
String filename = br.getRegex("<title>(.*?) - MountFile\\.com - Free File Hosting and Sharing, Permanently Save </title>").getMatch(0);
|
||||
if (filename == null) filename = br.getRegex("<h2 class=\"title\">Downloading:\\ \\ (.*?)</h2>").getMatch(0);
|
||||
String filesize = br.getRegex("File Size: <b>(.*?)</b><br>").getMatch(0);
|
||||
if (filename == null || filesize == null) throw new PluginException(LinkStatus.ERROR_PLUGIN_DEFECT);
|
||||
link.setName(filename.trim());
|
||||
link.setDownloadSize(SizeFormatter.getSize(filesize));
|
||||
return AvailableStatus.TRUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reset() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void resetDownloadlink(DownloadLink link) {
|
||||
}
|
||||
|
||||
}
|
@ -34,14 +34,15 @@ import jd.plugins.PluginForHost;
|
||||
*/
|
||||
|
||||
/* Set interfaceVersion to 3 to avoid old Stable trying to load this Plugin */
|
||||
@HostPlugin(revision = "$Revision: 15297 $", interfaceVersion = 3, names = { "platinshare.com", "ishare.iask.sina.com.cn", "megavideo.com", "megaupload.com", "cum.com", "zshare.net", "uploading4u.com", "megafree.kz", "batubia.com", "upload24.net", "files.namba.kz", "datumbit.com", "fik1.com", "fileape.com", "filezzz.com", "imagewaste.com", "fyels.com", "gotupload.com", "sharehub.com", "sharehut.com", "filesurf.ru", "openfile.ru", "letitfile.ru", "tab.net.ua", "uploadbox.com", "supashare.net", "usershare.net", "skipfile.com", "10upload.com", "x7.to", "multiupload.com", "uploadking.com", "uploadhere.com", "fileshaker.com", "vistaupload.com", "groovefile.com", "enterupload.com", "xshareware.com", "xun6.com", "yourupload.de", "youshare.eu", "mafiaupload.com", "addat.hu", "archiv.to", "bigupload.com", "biggerupload.com", "bitload.com", "bufiles.com", "cash-file.net", "combozip.com",
|
||||
"duckload.com", "exoshare.com", "file2upload.net", "filebase.to", "filebling.com", "filecrown.com", "filefrog.to", "filefront.com", "filehook.com", "filestage.to", "filezup.com", "fullshare.net", "gaiafile.com", "keepfile.com", "kewlshare.com", "lizshare.net", "loaded.it", "loadfiles.in", "megarapid.eu", "megashare.vn", "metahyper.com", "missupload.com", "netstorer.com", "nextgenvidz.com", "piggyshare.com", "profitupload.com", "quickload.to", "quickyshare.com", "share.cx", "sharehoster.de", "shareua.com", "speedload.to", "upfile.in", "ugotfile.com", "upload.ge", "uploadmachine.com", "uploady.to", "uploadstore.net", "vspace.cc", "web-share.net", "yvh.cc", "x-files.kz" }, urls = { "http://(www\\.)?platinshare\\.com/files/[A-Za-z0-9]+", "http://(www\\.)?ishare\\.iask\\.sina\\.com\\.cn/f/\\d+\\.html", "http://(www\\.)?megavideo\\.com/(.*?(v|d)=|v/)[a-zA-Z0-9]+",
|
||||
"http://(www\\.)?megaupload\\.com/.*?(\\?|&)d=[0-9A-Za-z]+", "http://(www\\.)?(cum|megaporn|megarotic|sexuploader)\\.com/(.*?v=|v/)[a-zA-Z0-9]+", "http://(www\\.)?zshare\\.net/(download|video|image|audio|flash)/.*", "http://(www\\.)?uploading4u\\.com/((\\?d|download\\.php\\?id)=[A-Z0-9]+|((en|ru|fr|es)/)?file/[0-9]+/)", "http://(www\\.)?megafree\\.kz/file\\d+", "http://(www\\.)?batubia\\.com/[a-z0-9]{12}", "http://(www\\.)?upload24\\.net/[a-z0-9]+\\.[a-z0-9]+", "http://(www\\.)?download\\.files\\.namba\\.kz/files/\\d+", "http://(www\\.)?datumbit\\.com/file/.*?/", "http://(www\\.)?fik1\\.com/[a-z0-9]{12}", "http://(www\\.)?fileape\\.com/(index\\.php\\?act=download\\&id=|dl/)\\w+", "http://(www\\.)?filezzz\\.com/download/[0-9]+/", "http://(www\\.)?imagewaste\\.com/pictures/\\d+/.{1}", "http://(www\\.)?fyels\\.com/[A-Za-z0-9]+", "http://(www\\.)?gotupload\\.com/[a-z0-9]{12}",
|
||||
"http://(go.sharehub.com|sharehub.me|follow.to|kgt.com|krt.com)/.*", "http://(www\\.)?sharehut\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?(filesurf|4ppl|files\\.youmama)\\.ru/[0-9]+", "http://[\\w\\.]*?openfile\\.ru/[0-9]+", "http://[\\w\\.]*?letitfile\\.(ru|com)/download/id\\d+", "http://[\\w\\.]*?tab\\.net\\.ua/sites/files/site_name\\..*?/id\\.\\d+/", "http://[\\w\\.]*?uploadbox\\.com/.*?files/[0-9a-zA-Z]+", "http://(www\\.)?supashare\\.net/[a-z0-9]{12}", "https?://(www\\.)?usershare\\.net/[a-z0-9]{12}", "http://(www\\.)?skipfile\\.com/[a-z0-9]{12}", "http://(www\\.)?10upload\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?x7\\.to/(?!list)[a-zA-Z0-9]+(/(?!inList)[^/\r\n]+)?", "http://(www\\.)?multiuploaddecrypted\\.com/([A-Z0-9]{2}_[A-Z0-9]+|[0-9A-Z]+)", "http://(www\\.)?uploadking\\.com/[A-Z0-9]+", "http://(www\\.)?uploadhere\\.com/[A-Z0-9]+", "http://[\\w\\.]*?fileshaker\\.com/.+",
|
||||
"http://(www\\.)?vistaupload\\.com/[a-z0-9]{12}", "https?://(www\\.)?groovefile\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?enterupload\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?xshareware\\.com/[\\w]+/.*", "http://[\\w\\.]*?xun6\\.(com|net)/file/[a-z0-9]+", "http://(www\\.)?yourupload\\.de/[a-z0-9]{12}", "http://(www\\.)?youshare\\.eu/[a-z0-9]{12}", "http://(www\\.)?mafiaupload\\.com/do\\.php\\?id=\\d+", "http://[\\w\\.]*?addat.hu/.+/.+", "http://(www\\.)?archiv\\.to/((\\?Module\\=Details\\&HashID\\=|GET/)FILE[A-Z0-9]+|view/divx/[a-z0-9]+)", "http://[\\w\\.]*?bigupload\\.com/(d=|files/)[A-Z0-9]+", "http://(www\\.)?biggerupload\\.com/[a-z0-9]{12}", "http://(www\\.)?(bitload\\.com/(f|d)/\\d+/[a-z0-9]+|mystream\\.to/file-\\d+-[a-z0-9]+)", "https?://(www\\.)?bufiles\\.com/[a-z0-9]{12}", "http://(www\\.)?cash-file\\.(com|net)/[a-z0-9]{12}", "http://[\\w\\.]*?combozip\\.com/[a-z0-9]{12}",
|
||||
"http://[\\w\\.]*?(duckload\\.com|youload\\.to)/(download/[a-z0-9]+|(divx|play)/[A-Z0-9\\.-]+|[a-zA-Z0-9\\.]+)", "http://(www\\.)?exoshare\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?file2upload\\.(net|com)/download/[0-9]+/", "http://[\\w\\.]*?filebase\\.to/(files|download)/\\d{1,}/.*", "http://[\\w\\.]*?filebling\\.com/[a-z0-9]{12}", "http://(www\\.)?filecrown\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?filefrog\\.to/download/\\d+/[a-zA-Z0-9]+", "http://[\\w\\.]*?filefront\\.com/[0-9]+", "http://(www\\.)?filehook\\.com/[a-z0-9]{12}", "http://(www\\.)?filestage\\.to/watch/[a-z0-9]+/", "http://(www\\.)?(filezup|divxupfile)\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?fullshare\\.net/show/[a-z0-9]+/.+", "http://(www\\.)?gaiafile\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?keepfile\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?kewlshare\\.com/dl/[\\w]+/", "http://[\\w\\.]*?lizshare\\.net/[a-z0-9]{12}",
|
||||
"http://(www\\.)?loaded\\.it/(show/[a-z0-9]+/[A-Za-z0-9_\\-% \\.]+|(flash|divx)/[a-z0-9]+/)", "http://[\\w\\.]*?loadfiles\\.in/[a-z0-9]{12}", "(http://[\\w\\.]*?megarapid\\.eu/files/\\d+/.+)|(http://[\\w\\.]*?megarapid\\.eu/\\?e=403\\&m=captcha\\&file=\\d+/.+)", "http://[\\w\\.]*?(megashare\\.vn/(download\\.php\\?uid=[0-9]+\\&id=[0-9]+|dl\\.php/\\d+)|share\\.megaplus\\.vn/dl\\.php/\\d+)", "http://(www\\.)?metahyper\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?missupload\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?netstorer\\.com/[a-zA-Z0-9]+/.+", "http://[\\w\\.]*?nextgenvidz\\.com/view/\\d+", "http://(www\\.)?piggyshare\\.com/file/[a-z0-9]+", "http://(www\\.)?profitupload\\.com/files/[A-Za-z0-9]+\\.html", "http://[\\w\\.]*?quickload\\.to/\\?Go=Player\\&HashID=FILE[A-Z0-9]+", "http://[\\w\\.]*?quickyshare\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?share\\.cx/(files/)?\\d+",
|
||||
"http://[\\w\\.]*?sharehoster\\.(de|com|net)/(dl|wait|vid)/[a-z0-9]+", "http://[\\w\\.]*?shareua.com/get_file/.*?/\\d+", "http://[\\w\\.]*?speedload\\.to/FILE[A-Z0-9]+", "http://(www\\.)?upfile\\.in/[a-z0-9]{12}", "http://[\\w\\.]*?ugotfile.com/file/\\d+/.+", "http://[\\w\\.]*?upload\\.ge/((\\?d|download\\.php\\?id)=[A-Z0-9]+|((en|ru|fr|es)/)?file/[0-9]+/)", "http://[\\w\\.]*?uploadmachine\\.com/(download\\.php\\?id=[0-9]+&type=[0-9]{1}|file/[0-9]+/)", "http://[\\w\\.]*?uploady\\.to/dl/((\\?d|download\\.php\\?id)=[A-Z0-9]+|((en|ru|fr|es)/)?file/[0-9]+/)", "http://(www\\.)?uploadstore\\.net/[a-z0-9]{12}", "http://[\\w\\.]*?vspace\\.cc/file/[A-Z0-9]+\\.html", "http://[\\w\\.]*?web-share\\.net/download/file/item/.*?_[0-9]+", "http://(www\\.)?yvh\\.cc/video\\.php\\?file=[a-z0-9_]+", "http://[\\w\\.]*?x-files\\.kz/[a-z0-9]+" }, flags = { 0 })
|
||||
@HostPlugin(revision = "$Revision: 15297 $", interfaceVersion = 3, names = { "mountfile.com", "platinshare.com", "ishare.iask.sina.com.cn", "megavideo.com", "megaupload.com", "cum.com", "zshare.net", "uploading4u.com", "megafree.kz", "batubia.com", "upload24.net", "files.namba.kz", "datumbit.com", "fik1.com", "fileape.com", "filezzz.com", "imagewaste.com", "fyels.com", "gotupload.com", "sharehub.com", "sharehut.com", "filesurf.ru", "openfile.ru", "letitfile.ru", "tab.net.ua", "uploadbox.com", "supashare.net", "usershare.net", "skipfile.com", "10upload.com", "x7.to", "multiupload.com", "uploadking.com", "uploadhere.com", "fileshaker.com", "vistaupload.com", "groovefile.com", "enterupload.com", "xshareware.com", "xun6.com", "yourupload.de", "youshare.eu", "mafiaupload.com", "addat.hu", "archiv.to", "bigupload.com", "biggerupload.com", "bitload.com", "bufiles.com", "cash-file.net",
|
||||
"combozip.com", "duckload.com", "exoshare.com", "file2upload.net", "filebase.to", "filebling.com", "filecrown.com", "filefrog.to", "filefront.com", "filehook.com", "filestage.to", "filezup.com", "fullshare.net", "gaiafile.com", "keepfile.com", "kewlshare.com", "lizshare.net", "loaded.it", "loadfiles.in", "megarapid.eu", "megashare.vn", "metahyper.com", "missupload.com", "netstorer.com", "nextgenvidz.com", "piggyshare.com", "profitupload.com", "quickload.to", "quickyshare.com", "share.cx", "sharehoster.de", "shareua.com", "speedload.to", "upfile.in", "ugotfile.com", "upload.ge", "uploadmachine.com", "uploady.to", "uploadstore.net", "vspace.cc", "web-share.net", "yvh.cc", "x-files.kz" }, urls = { "http://(www\\.)?mountfile\\.com/file/[a-z0-9]+/[a-z0-9]+", "http://(www\\.)?platinshare\\.com/files/[A-Za-z0-9]+", "http://(www\\.)?ishare\\.iask\\.sina\\.com\\.cn/f/\\d+\\.html",
|
||||
"http://(www\\.)?megavideo\\.com/(.*?(v|d)=|v/)[a-zA-Z0-9]+", "http://(www\\.)?megaupload\\.com/.*?(\\?|&)d=[0-9A-Za-z]+", "http://(www\\.)?(cum|megaporn|megarotic|sexuploader)\\.com/(.*?v=|v/)[a-zA-Z0-9]+", "http://(www\\.)?zshare\\.net/(download|video|image|audio|flash)/.*", "http://(www\\.)?uploading4u\\.com/((\\?d|download\\.php\\?id)=[A-Z0-9]+|((en|ru|fr|es)/)?file/[0-9]+/)", "http://(www\\.)?megafree\\.kz/file\\d+", "http://(www\\.)?batubia\\.com/[a-z0-9]{12}", "http://(www\\.)?upload24\\.net/[a-z0-9]+\\.[a-z0-9]+", "http://(www\\.)?download\\.files\\.namba\\.kz/files/\\d+", "http://(www\\.)?datumbit\\.com/file/.*?/", "http://(www\\.)?fik1\\.com/[a-z0-9]{12}", "http://(www\\.)?fileape\\.com/(index\\.php\\?act=download\\&id=|dl/)\\w+", "http://(www\\.)?filezzz\\.com/download/[0-9]+/", "http://(www\\.)?imagewaste\\.com/pictures/\\d+/.{1}",
|
||||
"http://(www\\.)?fyels\\.com/[A-Za-z0-9]+", "http://(www\\.)?gotupload\\.com/[a-z0-9]{12}", "http://(go.sharehub.com|sharehub.me|follow.to|kgt.com|krt.com)/.*", "http://(www\\.)?sharehut\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?(filesurf|4ppl|files\\.youmama)\\.ru/[0-9]+", "http://[\\w\\.]*?openfile\\.ru/[0-9]+", "http://[\\w\\.]*?letitfile\\.(ru|com)/download/id\\d+", "http://[\\w\\.]*?tab\\.net\\.ua/sites/files/site_name\\..*?/id\\.\\d+/", "http://[\\w\\.]*?uploadbox\\.com/.*?files/[0-9a-zA-Z]+", "http://(www\\.)?supashare\\.net/[a-z0-9]{12}", "https?://(www\\.)?usershare\\.net/[a-z0-9]{12}", "http://(www\\.)?skipfile\\.com/[a-z0-9]{12}", "http://(www\\.)?10upload\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?x7\\.to/(?!list)[a-zA-Z0-9]+(/(?!inList)[^/\r\n]+)?", "http://(www\\.)?multiuploaddecrypted\\.com/([A-Z0-9]{2}_[A-Z0-9]+|[0-9A-Z]+)", "http://(www\\.)?uploadking\\.com/[A-Z0-9]+",
|
||||
"http://(www\\.)?uploadhere\\.com/[A-Z0-9]+", "http://[\\w\\.]*?fileshaker\\.com/.+", "http://(www\\.)?vistaupload\\.com/[a-z0-9]{12}", "https?://(www\\.)?groovefile\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?enterupload\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?xshareware\\.com/[\\w]+/.*", "http://[\\w\\.]*?xun6\\.(com|net)/file/[a-z0-9]+", "http://(www\\.)?yourupload\\.de/[a-z0-9]{12}", "http://(www\\.)?youshare\\.eu/[a-z0-9]{12}", "http://(www\\.)?mafiaupload\\.com/do\\.php\\?id=\\d+", "http://[\\w\\.]*?addat.hu/.+/.+", "http://(www\\.)?archiv\\.to/((\\?Module\\=Details\\&HashID\\=|GET/)FILE[A-Z0-9]+|view/divx/[a-z0-9]+)", "http://[\\w\\.]*?bigupload\\.com/(d=|files/)[A-Z0-9]+", "http://(www\\.)?biggerupload\\.com/[a-z0-9]{12}", "http://(www\\.)?(bitload\\.com/(f|d)/\\d+/[a-z0-9]+|mystream\\.to/file-\\d+-[a-z0-9]+)", "https?://(www\\.)?bufiles\\.com/[a-z0-9]{12}",
|
||||
"http://(www\\.)?cash-file\\.(com|net)/[a-z0-9]{12}", "http://[\\w\\.]*?combozip\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?(duckload\\.com|youload\\.to)/(download/[a-z0-9]+|(divx|play)/[A-Z0-9\\.-]+|[a-zA-Z0-9\\.]+)", "http://(www\\.)?exoshare\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?file2upload\\.(net|com)/download/[0-9]+/", "http://[\\w\\.]*?filebase\\.to/(files|download)/\\d{1,}/.*", "http://[\\w\\.]*?filebling\\.com/[a-z0-9]{12}", "http://(www\\.)?filecrown\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?filefrog\\.to/download/\\d+/[a-zA-Z0-9]+", "http://[\\w\\.]*?filefront\\.com/[0-9]+", "http://(www\\.)?filehook\\.com/[a-z0-9]{12}", "http://(www\\.)?filestage\\.to/watch/[a-z0-9]+/", "http://(www\\.)?(filezup|divxupfile)\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?fullshare\\.net/show/[a-z0-9]+/.+", "http://(www\\.)?gaiafile\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?keepfile\\.com/[a-z0-9]{12}",
|
||||
"http://[\\w\\.]*?kewlshare\\.com/dl/[\\w]+/", "http://[\\w\\.]*?lizshare\\.net/[a-z0-9]{12}", "http://(www\\.)?loaded\\.it/(show/[a-z0-9]+/[A-Za-z0-9_\\-% \\.]+|(flash|divx)/[a-z0-9]+/)", "http://[\\w\\.]*?loadfiles\\.in/[a-z0-9]{12}", "(http://[\\w\\.]*?megarapid\\.eu/files/\\d+/.+)|(http://[\\w\\.]*?megarapid\\.eu/\\?e=403\\&m=captcha\\&file=\\d+/.+)", "http://[\\w\\.]*?(megashare\\.vn/(download\\.php\\?uid=[0-9]+\\&id=[0-9]+|dl\\.php/\\d+)|share\\.megaplus\\.vn/dl\\.php/\\d+)", "http://(www\\.)?metahyper\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?missupload\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?netstorer\\.com/[a-zA-Z0-9]+/.+", "http://[\\w\\.]*?nextgenvidz\\.com/view/\\d+", "http://(www\\.)?piggyshare\\.com/file/[a-z0-9]+", "http://(www\\.)?profitupload\\.com/files/[A-Za-z0-9]+\\.html", "http://[\\w\\.]*?quickload\\.to/\\?Go=Player\\&HashID=FILE[A-Z0-9]+",
|
||||
"http://[\\w\\.]*?quickyshare\\.com/[a-z0-9]{12}", "http://[\\w\\.]*?share\\.cx/(files/)?\\d+", "http://[\\w\\.]*?sharehoster\\.(de|com|net)/(dl|wait|vid)/[a-z0-9]+", "http://[\\w\\.]*?shareua.com/get_file/.*?/\\d+", "http://[\\w\\.]*?speedload\\.to/FILE[A-Z0-9]+", "http://(www\\.)?upfile\\.in/[a-z0-9]{12}", "http://[\\w\\.]*?ugotfile.com/file/\\d+/.+", "http://[\\w\\.]*?upload\\.ge/((\\?d|download\\.php\\?id)=[A-Z0-9]+|((en|ru|fr|es)/)?file/[0-9]+/)", "http://[\\w\\.]*?uploadmachine\\.com/(download\\.php\\?id=[0-9]+&type=[0-9]{1}|file/[0-9]+/)", "http://[\\w\\.]*?uploady\\.to/dl/((\\?d|download\\.php\\?id)=[A-Z0-9]+|((en|ru|fr|es)/)?file/[0-9]+/)", "http://(www\\.)?uploadstore\\.net/[a-z0-9]{12}", "http://[\\w\\.]*?vspace\\.cc/file/[A-Z0-9]+\\.html", "http://[\\w\\.]*?web-share\\.net/download/file/item/.*?_[0-9]+", "http://(www\\.)?yvh\\.cc/video\\.php\\?file=[a-z0-9_]+",
|
||||
"http://[\\w\\.]*?x-files\\.kz/[a-z0-9]+" }, flags = { 0 })
|
||||
public class Offline extends PluginForHost {
|
||||
|
||||
public Offline(PluginWrapper wrapper) {
|
||||
|
@ -55,7 +55,7 @@ public class RayFileCom extends PluginForHost {
|
||||
regex = "downloads_url = \\['(.*?)'\\]";
|
||||
p = Pattern.compile(regex);
|
||||
downloadUrl = ajax.getRegex(p).getMatch(0);
|
||||
|
||||
if (downloadUrl == null) throw new PluginException(LinkStatus.ERROR_PLUGIN_DEFECT);
|
||||
String cookie_key = null;
|
||||
String cookie_value = null;
|
||||
String cookie_host = null;
|
||||
@ -86,7 +86,7 @@ public class RayFileCom extends PluginForHost {
|
||||
br.getPage(redirectUrl);
|
||||
}
|
||||
|
||||
if (this.br.containsHTML("page404")) { throw new PluginException(LinkStatus.ERROR_FILE_NOT_FOUND); }
|
||||
if (this.br.containsHTML("page404")) throw new PluginException(LinkStatus.ERROR_FILE_NOT_FOUND);
|
||||
|
||||
Regex fname = br.getRegex("var fname = \"(.*?)\";");
|
||||
Regex fsize = br.getRegex("formatsize = \"(.*?)\";");
|
||||
|
@ -35,13 +35,11 @@ import jd.plugins.PluginException;
|
||||
import jd.plugins.PluginForHost;
|
||||
import jd.utils.locale.JDL;
|
||||
|
||||
@HostPlugin(revision = "$Revision$", interfaceVersion = 2, names = { "tube8.com" }, urls = { "http://[\\w\\.]*?tube8\\.com/.*?/.*?/[0-9]+" }, flags = { 2 })
|
||||
@HostPlugin(revision = "$Revision$", interfaceVersion = 2, names = { "tube8.com" }, urls = { "http://(www\\.)?tube8\\.com/.*?/.*?/[0-9]+" }, flags = { 2 })
|
||||
public class Tube8Com extends PluginForHost {
|
||||
|
||||
private boolean setEx = true;
|
||||
|
||||
private static final String mobile = "mobile";
|
||||
|
||||
public String dllink = null;
|
||||
|
||||
public Tube8Com(PluginWrapper wrapper) {
|
||||
|
@ -43,7 +43,7 @@ public class YunFileCom extends PluginForHost {
|
||||
|
||||
private static final Object LOCK = new Object();
|
||||
|
||||
// MountFileCom uses the same script
|
||||
// Works like HowFileCom
|
||||
public YunFileCom(PluginWrapper wrapper) {
|
||||
super(wrapper);
|
||||
this.enablePremium("http://www.yunfile.com/user/premiumMembership.html");
|
||||
|
Loading…
x
Reference in New Issue
Block a user