mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-06-12 21:37:37 +02:00
1.61c
...
This commit is contained in:
@ -363,8 +363,7 @@ public final class MegaAPI {
|
||||
}
|
||||
|
||||
public String getMegaFileDownloadUrl(String link) throws IOException, MegaAPIException {
|
||||
link = link.replace("/#!N?", "/#N!");
|
||||
|
||||
|
||||
String file_id = findFirstRegex("#.*?!([^!]+)", link, 1);
|
||||
|
||||
String request;
|
||||
@ -395,8 +394,6 @@ public final class MegaAPI {
|
||||
|
||||
public String[] getMegaFileMetadata(String link) throws MegaAPIException, MalformedURLException, IOException {
|
||||
|
||||
link = link.replace("/#!N?", "/#N!");
|
||||
|
||||
String file_id = findFirstRegex("#.*?!([^!]+)", link, 1);
|
||||
|
||||
String file_key = findFirstRegex("#.*?![^!]+!([^!#]+)", link, 1);
|
||||
|
@ -165,8 +165,6 @@ public final class StreamerDialog extends javax.swing.JDialog implements Clipboa
|
||||
|
||||
String data;
|
||||
|
||||
link = link.replace("/#!N?", "/#N!");
|
||||
|
||||
if (findFirstRegex("://mega(\\.co)?\\.nz/#[^fF]", link, 0) != null) {
|
||||
data = findFirstRegex("/#(N?!.+)", link, 1);
|
||||
|
||||
|
Reference in New Issue
Block a user