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:
parent
df97543349
commit
29d46491f9
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user