mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-04 21:07:38 +02:00
Fix an issue with the XvideosRipper found by URISyntaxException after refactor
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user