mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-05-04 08:34:38 +02:00
parent
98af706ff3
commit
054dbed72f
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.tonikelope</groupId>
|
<groupId>com.tonikelope</groupId>
|
||||||
<artifactId>MegaBasterd</artifactId>
|
<artifactId>MegaBasterd</artifactId>
|
||||||
<version>7.81</version>
|
<version>7.82</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
|
@ -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 = 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) {
|
} catch (Exception ex) {
|
||||||
|
@ -1512,6 +1512,10 @@ public class Download implements Transference, Runnable, SecureSingleThreadNotif
|
|||||||
|
|
||||||
error_code = ex.getCode();
|
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)) {
|
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);
|
_auto_retry_on_error = Arrays.asList(FATAL_API_ERROR_CODES_WITH_RETRY).contains(error_code);
|
||||||
|
@ -69,7 +69,7 @@ import javax.swing.UIManager;
|
|||||||
*/
|
*/
|
||||||
public final class MainPanel {
|
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 boolean FORCE_SMART_PROXY = false; //TRUE FOR DEBUGING SMART PROXY
|
||||||
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
||||||
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
||||||
|
@ -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.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());
|
this.public_folder_panel.setVisible(this.upload_public_folder_checkbox.isSelected());
|
||||||
|
|
||||||
revalidate();
|
revalidate();
|
||||||
|
|
||||||
repaint();
|
repaint();
|
||||||
|
|
||||||
}//GEN-LAST:event_upload_public_folder_checkboxActionPerformed
|
}//GEN-LAST:event_upload_public_folder_checkboxActionPerformed
|
||||||
|
@ -29,7 +29,7 @@ public interface Transference {
|
|||||||
boolean LIMIT_TRANSFERENCE_SPEED_DEFAULT = false;
|
boolean LIMIT_TRANSFERENCE_SPEED_DEFAULT = false;
|
||||||
int MAX_TRANSFERENCE_SPEED_DEFAULT = 5;
|
int MAX_TRANSFERENCE_SPEED_DEFAULT = 5;
|
||||||
int MAX_WAIT_WORKERS_SHUTDOWN = 15;
|
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};
|
Integer[] FATAL_API_ERROR_CODES_WITH_RETRY = {-4};
|
||||||
|
|
||||||
void start();
|
void start();
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 209 KiB After Width: | Height: | Size: 208 KiB |
Loading…
x
Reference in New Issue
Block a user