1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-01-16 20:28:15 +01:00

Fix an issue with the XvideosRipper found by URISyntaxException after refactor

This commit is contained in:
MetaPrime 2025-01-02 01:30:13 -08:00
parent df97543349
commit 29d46491f9

View File

@ -82,7 +82,7 @@ public class XvideosRipper extends AbstractSingleFileRipper {
String[] lines = e.html().split("\n");
for (String line : lines) {
if (line.contains("html5player.setVideoUrlHigh")) {
String videoURL = line.replaceAll("\t", "").replaceAll("html5player.setVideoUrlHigh\\(", "").replaceAll("\'", "").replaceAll("\\);", "");
String videoURL = line.strip().replaceAll("\t", "").replaceAll("html5player.setVideoUrlHigh\\(", "").replaceAll("\'", "").replaceAll("\\);", "");
results.add(videoURL);
}
}