tonikelope 2023-10-13 01:44:06 +02:00
parent 98af706ff3
commit 054dbed72f
7 changed files with 16 additions and 9 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.tonikelope</groupId>
<artifactId>MegaBasterd</artifactId>
<version>7.81</version>
<version>7.82</version>
<packaging>jar</packaging>
<repositories>
<repository>

View File

@ -572,13 +572,16 @@ public class CryptTools {
String dec_dlc_data = new String(CryptTools.aes_cbc_decrypt_nopadding(BASE642Bin(enc_dlc_data), BASE642Bin(dec_dlc_key), BASE642Bin(dec_dlc_key)), "UTF-8").trim();
String dec_dlc_data_file = findFirstRegex("< *file *>(.+?)< */ *file *>", new String(BASE642Bin(dec_dlc_data), "UTF-8"), 1);
ArrayList<String> files = findAllRegex("< *file *>(.+?)< */ *file *>", new String(BASE642Bin(dec_dlc_data), "UTF-8"), 1);
ArrayList<String> urls = findAllRegex("< *url *>(.+?)< */ *url *>", dec_dlc_data_file, 1);
for (String f : files) {
for (String s : urls) {
ArrayList<String> urls = findAllRegex("< *url *>(.+?)< */ *url *>", f, 1);
links.add(new String(BASE642Bin(s), "UTF-8"));
for (String s : urls) {
links.add(new String(BASE642Bin(s), "UTF-8"));
}
}
} catch (Exception ex) {

View File

@ -1512,6 +1512,10 @@ public class Download implements Transference, Runnable, SecureSingleThreadNotif
error_code = ex.getCode();
if (error_code == -16) {
_status_error = "ERROR: MEGA LINK BLOCKED/DELETED";
}
if (Arrays.asList(FATAL_API_ERROR_CODES).contains(error_code)) {
_auto_retry_on_error = Arrays.asList(FATAL_API_ERROR_CODES_WITH_RETRY).contains(error_code);

View File

@ -69,7 +69,7 @@ import javax.swing.UIManager;
*/
public final class MainPanel {
public static final String VERSION = "7.81";
public static final String VERSION = "7.82";
public static final boolean FORCE_SMART_PROXY = false; //TRUE FOR DEBUGING SMART PROXY
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;

View File

@ -3098,9 +3098,9 @@ public class SettingsDialog extends javax.swing.JDialog {
this.upload_public_folder_checkbox.setBackground(this.upload_public_folder_checkbox.isSelected() ? java.awt.Color.RED : null);
this.public_folder_panel.setVisible(this.upload_public_folder_checkbox.isSelected());
revalidate();
repaint();
}//GEN-LAST:event_upload_public_folder_checkboxActionPerformed

View File

@ -29,7 +29,7 @@ public interface Transference {
boolean LIMIT_TRANSFERENCE_SPEED_DEFAULT = false;
int MAX_TRANSFERENCE_SPEED_DEFAULT = 5;
int MAX_WAIT_WORKERS_SHUTDOWN = 15;
Integer[] FATAL_API_ERROR_CODES = {-2, -4, -8, -14, -15, -16, -17, 22, 23, 24};
Integer[] FATAL_API_ERROR_CODES = {-2, -4, -8, -14, -15, -17, 22, 23, 24};
Integer[] FATAL_API_ERROR_CODES_WITH_RETRY = {-4};
void start();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 KiB

After

Width:  |  Height:  |  Size: 208 KiB