Skip to content

Commit 6beec1d

Browse files
author
updating-bot
committed
mirroring bot - 2025/09/17
1 parent ff12c9e commit 6beec1d

File tree

5 files changed

+106
-93
lines changed

5 files changed

+106
-93
lines changed

svn_trunk/src/jd/plugins/decrypter/TbCmV2.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
import org.jdownloader.scripting.JavaScriptEngineFactory;
103103
import org.jdownloader.settings.staticreferences.CFG_YOUTUBE;
104104

105-
@DecrypterPlugin(revision = "$Revision: 51502 $", interfaceVersion = 3, names = {}, urls = {})
105+
@DecrypterPlugin(revision = "$Revision: 51507 $", interfaceVersion = 3, names = {}, urls = {})
106106
public class TbCmV2 extends PluginForDecrypt {
107107
/* Shorted wait time between requests when JDownloader is run in IDE to allow for faster debugging. */
108108
private static final int DDOS_WAIT_MAX = Application.isJared(null) ? 1000 : 10;
@@ -823,7 +823,7 @@ public boolean isRemoteAPIEnabled() {
823823
* This helps to speed up crawl process for items that would fail either way.
824824
*/
825825
if (lastVideoFailedErrorMessage != null) {
826-
if (lastVideoFailedErrorMessage.matches("(?i.*This live event will begin in a few moments.*")) {
826+
if (lastVideoFailedErrorMessage.matches("(?i).*This live event will begin in a few moments.*")) {
827827
// ignore per video error
828828
} else if (lastVideoFailedErrorMessage.matches("(?i).*(confirm your age|age-restricted|inappropriate).*")) {
829829
// ignore per video error

svn_trunk/src/jd/plugins/hoster/MixdropCo.java

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
import java.io.IOException;
1919
import java.util.ArrayList;
20+
import java.util.HashMap;
2021
import java.util.List;
2122
import java.util.Map;
2223
import java.util.regex.Pattern;
@@ -42,7 +43,7 @@
4243
import org.jdownloader.captcha.v2.challenge.recaptcha.v2.CaptchaHelperHostPluginRecaptchaV2;
4344
import org.jdownloader.plugins.components.antiDDoSForHost;
4445

45-
@HostPlugin(revision = "$Revision: 51330 $", interfaceVersion = 3, names = {}, urls = {})
46+
@HostPlugin(revision = "$Revision: 51506 $", interfaceVersion = 3, names = {}, urls = {})
4647
public class MixdropCo extends antiDDoSForHost {
4748
public MixdropCo(PluginWrapper wrapper) {
4849
super(wrapper);
@@ -65,7 +66,7 @@ public String getAGBLink() {
6566
private static List<String[]> getPluginDomains() {
6667
final List<String[]> ret = new ArrayList<String[]>();
6768
// each entry in List<String[]> will result in one PluginForHost, Plugin.getHost() will return String[0]->main domain
68-
ret.add(new String[] { "mixdrop.ag", "mixdrop.co", "mixdrop.to", "mixdrop.club", "mixdrop.sx", "mixdrop.bz", "mixdroop.bz", "mixdrop.vc", "mixdrop.to", "mdy48tn97.com", "mdbekjwqa.pw", "mdfx9dc8n.net", "mdzsmutpcvykb.net", "mixdrop.ms", "mixdrop.is", "mixdrop.si", "mixdrop.ps", "mixdrop.my", "mixdrop.sn", "mixdrop.cfd" });
69+
ret.add(new String[] { "mixdrop.ag", "mixdrop.co", "mixdrop.to", "mixdrop.club", "mixdrop.sx", "mixdrop.bz", "mixdroop.bz", "mixdrop.vc", "mixdrop.to", "mdy48tn97.com", "mdbekjwqa.pw", "mdfx9dc8n.net", "mdzsmutpcvykb.net", "mixdrop.ms", "mixdrop.is", "mixdrop.si", "mixdrop.ps", "mixdrop.my", "mixdrop.sn", "mixdrop.cfd", "mixdrop.cv" });
6970
return ret;
7071
}
7172

@@ -311,9 +312,16 @@ private void handleDownload(final DownloadLink link, final boolean resumable, fi
311312
protected CaptchaHelperHostPluginRecaptchaV2 getCaptchaHelperHostPluginRecaptchaV2(PluginForHost plugin, Browser br) throws PluginException {
312313
return new CaptchaHelperHostPluginRecaptchaV2(this, br, this.getReCaptchaKey()) {
313314

315+
@Override
316+
protected Map<String, Object> getV3Action() {
317+
final Map<String, Object> ret = new HashMap<String, Object>();
318+
ret.put("action", "download");
319+
return ret;
320+
}
321+
314322
@Override
315323
public org.jdownloader.captcha.v2.challenge.recaptcha.v2.AbstractRecaptchaV2.VERSION getVersion() {
316-
return VERSION.V3;
324+
return super.getVersion();
317325
}
318326

319327
@Override

svn_trunk/src/jd/plugins/hoster/NetnaijafilesXyz.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
import java.util.ArrayList;
1919
import java.util.List;
2020

21-
import org.jdownloader.plugins.components.YetiShareCore;
22-
2321
import jd.PluginWrapper;
2422
import jd.plugins.Account;
2523
import jd.plugins.Account.AccountType;
2624
import jd.plugins.DownloadLink;
2725
import jd.plugins.HostPlugin;
2826

29-
@HostPlugin(revision = "$Revision: 51349 $", interfaceVersion = 2, names = {}, urls = {})
27+
import org.jdownloader.plugins.components.YetiShareCore;
28+
29+
@HostPlugin(revision = "$Revision: 51506 $", interfaceVersion = 2, names = {}, urls = {})
3030
public class NetnaijafilesXyz extends YetiShareCore {
3131
public NetnaijafilesXyz(PluginWrapper wrapper) {
3232
super(wrapper);
@@ -57,6 +57,12 @@ public String[] siteSupportedNames() {
5757
return buildSupportedNames(getPluginDomains());
5858
}
5959

60+
@Override
61+
protected boolean requiresWWW() {
62+
// doesn't work with www. , returns 404
63+
return false;
64+
}
65+
6066
public static String[] getAnnotationUrls() {
6167
return YetiShareCore.buildAnnotationUrls(getPluginDomains());
6268
}

svn_trunk/src/org/jdownloader/controlling/filter/RuleWrapper.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,8 @@ public boolean checkFileName(final CrawledLink link) {
357357
final DownloadLink downloadLink = link.getDownloadLink();
358358
if (downloadLink != null) {
359359
// final or forced filename available
360-
String fileName = null;
361-
if ((fileName = downloadLink.getFinalFileName()) != null || (fileName = downloadLink.getForcedFileName()) != null) {
362-
return rule.matches(pattern, fileName);
360+
if (link.isNameSet() || downloadLink.getForcedFileName() != null || downloadLink.getFinalFileName() != null) {
361+
return rule.matches(pattern, link.getName());
363362
}
364363
// file is online
365364
if (link.getLinkState() == AvailableLinkState.ONLINE) {

0 commit comments

Comments
 (0)