git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@9645 ebf7c1c2-ba36-0410-9fe8-c592906822b4

This commit is contained in:
Greeny 2009-11-11 18:34:19 +00:00
parent 67288e0d2e
commit 3a5aaf5c33
3 changed files with 6 additions and 9 deletions

View File

@ -1,4 +1,4 @@
<jDownloader>
<method name="Underground CMS" author="DwD"/>
<method name="Underground CMS" author="DwD" services="ucms" />
<format type="gif" letterNum="3" />
</jDownloader>

View File

@ -45,7 +45,7 @@ public class JACMethod implements Comparable<JACMethod> {
return method.getFileName();
}
}
logger.info("There is no JAC method for the service " + service);
logger.info("There is no JAC method for the service " + service + ", now trying default directory!");
return service;
}
@ -53,6 +53,7 @@ public class JACMethod implements Comparable<JACMethod> {
if (methods != null) return methods;
ArrayList<JACMethod> methods = new ArrayList<JACMethod>();
for (File methodDir : getMethodDirs()) {
System.out.println(methodDir);
ArrayList<JACMethod> meths = parseJACInfo(methodDir);
if (meths != null) {
methods.addAll(meths);

View File

@ -38,8 +38,6 @@ import jd.plugins.PluginException;
import jd.plugins.PluginForDecrypt;
import jd.utils.JDUtilities;
//create this patterns with CMS.main
@DecrypterPlugin(revision = "$Revision$", interfaceVersion = 2, names = {}, urls = {}, flags = {})
public class CMS extends PluginForDecrypt {
public static final String[] ANNOTATION_NAMES = new String[] { "romhood.com", "indexxx.us", "turk-crew.com", "musicfarm.in", "warezhunters.org", "uwarez.ws", "ddl-kingz.in", "oxygen-warez.com", "filefox.in", "alphawarez.us", "pirate-loads.com", "fettrap.com", "omega-music.com", "hardcoremetal.biz", "flashload.org", "twin-warez.com", "oneload.org", "steelwarez.com", "fullstreams.info", "lionwarez.com", "1dl.in", "chrome-database.com", "oneload.org", "youwarez.biz", "saugking.net", "leetpornz.com", "freefiles4u.com", "dark-load.net", "crimeland.de", "get-warez.in", "meinsound.com", "projekt-tempel-news.de.vu", "datensau.org", "musik.am", "spreaded.net", "relfreaks.com", "babevidz.com", "serien24.com", "porn-freaks.net", "xxx-4-free.net", "porn-traffic.net", "chili-warez.net", "game-freaks.net", "isos.at", "your-load.com", "mov-world.net", "xtreme-warez.net", "sceneload.to",
@ -95,7 +93,7 @@ public class CMS extends PluginForDecrypt {
super(wrapper);
}
// @Override
@Override
public ArrayList<DownloadLink> decryptIt(CryptedLink param, ProgressController progress) throws Exception {
ArrayList<DownloadLink> decryptedLinks = new ArrayList<DownloadLink>();
String parameter = param.toString();
@ -135,7 +133,7 @@ public class CMS extends PluginForDecrypt {
if (host.toLowerCase().contains("mov-world.net"))
capTxt = getCaptchaCode("mov-world.net", captchaFile, param);
else
capTxt = getCaptchaCode("cms", captchaFile, param);
capTxt = getCaptchaCode("ucms", captchaFile, param);
captchaFile.renameTo(new File(captchaFile.getParentFile(), capTxt + ".gif"));
String posthelp = HTMLParser.getFormInputHidden(element[2]);
@ -227,7 +225,7 @@ public class CMS extends PluginForDecrypt {
if (host.toLowerCase().contains("mov-world.net"))
capTxt = getCaptchaCode("mov-world.net", captchaFile, param);
else
capTxt = getCaptchaCode("cms", captchaFile, UserIO.NO_JAC, param, null, null);
capTxt = getCaptchaCode("ucms", captchaFile, UserIO.NO_JAC, param, null, null);
captchaFile.renameTo(new File(captchaFile.getParentFile(), capTxt + ".gif"));
tform.put("code", capTxt);
@ -281,6 +279,4 @@ public class CMS extends PluginForDecrypt {
return decryptedLinks;
}
// @Override
}