mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-03 20:37:29 +02:00
Removed unnecessary new Java syntax
This line breaks Java 17 compatibility, so I fixed it.
This commit is contained in:
@@ -57,7 +57,7 @@ public class VidearnRipper extends VideoRipper {
|
||||
if (mp4s.isEmpty()) {
|
||||
throw new IOException("Could not find files at " + url);
|
||||
}
|
||||
String vidUrl = mp4s.getFirst();
|
||||
String vidUrl = mp4s.get(0);
|
||||
addURLToDownload(new URI(vidUrl).toURL(), HOST + "_" + getGID(this.url));
|
||||
waitForThreads();
|
||||
}
|
||||
|
Reference in New Issue
Block a user