mirror of
https://github.com/mirror/jdownloader.git
synced 2025-03-04 18:38:24 +00:00
Lixin: fixed
VipFileCom: fixed DistributeData: fixed git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@5931 ebf7c1c2-ba36-0410-9fe8-c592906822b4
This commit is contained in:
parent
c5ca6a2f44
commit
f74ed02480
@ -365,7 +365,10 @@ public class DistributeData extends Thread {
|
||||
}
|
||||
|
||||
public void run() {
|
||||
decryptedLinks.addAll(plg.decryptLinks(decryptableLinks));
|
||||
ArrayList<DownloadLink> tmp = plg.decryptLinks(decryptableLinks);
|
||||
synchronized (decryptedLinks) {
|
||||
decryptedLinks.addAll(tmp);
|
||||
}
|
||||
}
|
||||
|
||||
public void go() throws Exception {
|
||||
|
@ -83,6 +83,7 @@ public class Lixin extends PluginForDecrypt {
|
||||
/* KEIN EinzelLink gefunden, evtl ist es ein Folder */
|
||||
Form[] forms = br.getForms();
|
||||
for (Form element : forms) {
|
||||
if (element.containsHTML("Download")) continue;
|
||||
br.submitForm(element);
|
||||
/* EinzelLink gefunden */
|
||||
link = br.getRegex("<iframe.*?src=\"(.+?)\"").getMatch(0);
|
||||
|
@ -21,6 +21,7 @@ import java.util.regex.Pattern;
|
||||
|
||||
import jd.PluginWrapper;
|
||||
import jd.http.Encoding;
|
||||
import jd.http.URLConnectionAdapter;
|
||||
import jd.parser.Regex;
|
||||
import jd.parser.html.Form;
|
||||
import jd.plugins.Account;
|
||||
@ -80,13 +81,9 @@ public class Vipfilecom extends PluginForHost {
|
||||
br.getPage(link);
|
||||
link = br.getRedirectLocation();
|
||||
if (!link.contains("vip-file.com")) throw new PluginException(LinkStatus.ERROR_FATAL, JDLocale.L("plugins.hoster.vipfilecom.errors.nofreedownloadlink", "No free download link for this file"));
|
||||
br.getPage(link);
|
||||
link = br.getRedirectLocation();
|
||||
if (!link.contains("vip-file.com")) throw new PluginException(LinkStatus.ERROR_FATAL, JDLocale.L("plugins.hoster.vipfilecom.errors.nofreedownloadlink", "No free download link for this file"));
|
||||
link = link.replaceAll("file.com.*?/", "file.com:8080/");
|
||||
//link = link.replaceAll("file.com.*?/", "file.com:8080/");
|
||||
br.setFollowRedirects(true);
|
||||
|
||||
br.openDownload(downloadLink, link, true, 0).startDownload();
|
||||
br.openDownload(downloadLink, link, true, 1).startDownload();
|
||||
}
|
||||
|
||||
// @Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user