mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-01-16 20:28:15 +01:00
Removed unnecessary new Java syntax
This line breaks Java 17 compatibility, so I fixed it.
This commit is contained in:
parent
8afe86fc5d
commit
9a6de2509d
@ -57,8 +57,8 @@ 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user