mirror of
https://github.com/mirror/jdownloader.git
synced 2025-02-18 19:32:36 +00:00
*Plugins: Fixes/Changes/Maintenance*
- BcVc: fixed RE forum 94151 git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@49511 ebf7c1c2-ba36-0410-9fe8-c592906822b4 Former-commit-id: dd0d48f6f3a99c4082989a2e1208dd7e5f6ce550
This commit is contained in:
parent
98283c5e1d
commit
b8e07b2f9f
@ -189,14 +189,25 @@ public class BcVc extends PluginForDecrypt {
|
||||
}
|
||||
final String url = (String) JavaScriptEngineFactory.walkJson(entries, "message/url");
|
||||
String b64 = UrlQuery.parse(url).get("cr");
|
||||
b64 = Encoding.htmlDecode(b64);
|
||||
final String finallink = Encoding.Base64Decode(b64);
|
||||
final String finallink;
|
||||
if (b64 != null) {
|
||||
b64 = Encoding.htmlDecode(b64);
|
||||
finallink = Encoding.Base64Decode(b64);
|
||||
} else {
|
||||
/* url is not base64 encoded. */
|
||||
finallink = url;
|
||||
}
|
||||
logger.info("finallink = " + finallink);
|
||||
return this.createDownloadlink(finallink);
|
||||
}
|
||||
|
||||
/* NO OVERRIDE!! */
|
||||
@Override
|
||||
public boolean hasCaptcha(CryptedLink link, jd.plugins.Account acc) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxConcurrentProcessingInstances() {
|
||||
return 1;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user