mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-04-29 14:14:37 +02:00
8.2
+BASE64 encoded MEGA links
This commit is contained in:
parent
92b04ffd63
commit
4ee08a86f4
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.tonikelope</groupId>
|
||||
<artifactId>MegaBasterd</artifactId>
|
||||
<version>8.1</version>
|
||||
<version>8.2</version>
|
||||
<packaging>jar</packaging>
|
||||
<repositories>
|
||||
<repository>
|
||||
|
@ -88,7 +88,7 @@
|
||||
</DimensionLayout>
|
||||
<DimensionLayout dim="1">
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Component id="file_tree_scrollpane" alignment="0" pref="171" max="32767" attributes="0"/>
|
||||
<Component id="file_tree_scrollpane" alignment="0" pref="165" max="32767" attributes="0"/>
|
||||
</Group>
|
||||
</DimensionLayout>
|
||||
</Layout>
|
||||
@ -329,7 +329,10 @@
|
||||
<Component class="javax.swing.JLabel" name="total_file_size_label">
|
||||
<Properties>
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Dialog" size="28" style="1"/>
|
||||
<Font name="Dialog" size="32" style="1"/>
|
||||
</Property>
|
||||
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
||||
<Color blue="ff" green="0" red="0" type="rgb"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="[0 B]"/>
|
||||
<Property name="doubleBuffered" type="boolean" value="true"/>
|
||||
|
@ -288,7 +288,7 @@ public class FileGrabberDialog extends javax.swing.JDialog {
|
||||
);
|
||||
jPanel1Layout.setVerticalGroup(
|
||||
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addComponent(file_tree_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 171, Short.MAX_VALUE)
|
||||
.addComponent(file_tree_scrollpane, javax.swing.GroupLayout.DEFAULT_SIZE, 165, Short.MAX_VALUE)
|
||||
);
|
||||
|
||||
jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder("Upload info"));
|
||||
@ -416,7 +416,8 @@ public class FileGrabberDialog extends javax.swing.JDialog {
|
||||
}
|
||||
});
|
||||
|
||||
total_file_size_label.setFont(new java.awt.Font("Dialog", 1, 28)); // NOI18N
|
||||
total_file_size_label.setFont(new java.awt.Font("Dialog", 1, 32)); // NOI18N
|
||||
total_file_size_label.setForeground(new java.awt.Color(0, 0, 255));
|
||||
total_file_size_label.setText("[0 B]");
|
||||
total_file_size_label.setDoubleBuffered(true);
|
||||
total_file_size_label.setEnabled(false);
|
||||
|
@ -213,7 +213,7 @@
|
||||
<Font name="Dialog" size="32" style="1"/>
|
||||
</Property>
|
||||
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
||||
<Color blue="ff" green="33" red="0" type="rgb"/>
|
||||
<Color blue="ff" green="0" red="0" type="rgb"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="[---]"/>
|
||||
<Property name="doubleBuffered" type="boolean" value="true"/>
|
||||
|
@ -232,7 +232,7 @@ public class FolderLinkDialog extends javax.swing.JDialog {
|
||||
});
|
||||
|
||||
total_space_label.setFont(new java.awt.Font("Dialog", 1, 32)); // NOI18N
|
||||
total_space_label.setForeground(new java.awt.Color(0, 51, 255));
|
||||
total_space_label.setForeground(new java.awt.Color(0, 0, 255));
|
||||
total_space_label.setText("[---]");
|
||||
total_space_label.setDoubleBuffered(true);
|
||||
total_space_label.setEnabled(false);
|
||||
|
@ -70,7 +70,7 @@ import javax.swing.UIManager;
|
||||
*/
|
||||
public final class MainPanel {
|
||||
|
||||
public static final String VERSION = "8.1";
|
||||
public static final String VERSION = "8.2";
|
||||
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;
|
||||
|
@ -1022,8 +1022,7 @@ public final class MainPanelView extends javax.swing.JFrame {
|
||||
|
||||
Runnable run = () -> {
|
||||
|
||||
//Convert to legacy link format
|
||||
String link_data = MiscTools.newMegaLinks2Legacy(dialog.getLinks_textarea().getText());
|
||||
String link_data = MiscTools.extractMegaLinksFromString(dialog.getLinks_textarea().getText());
|
||||
|
||||
Set<String> urls = new HashSet(findAllRegex("(?:https?|mega)://[^\r\n]+(#[^\r\n!]*?)?![^\r\n!]+![^\\?\r\n/]+", link_data, 0));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user