1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-01-17 12:48:24 +01:00

small pattern change

This commit is contained in:
pesho1323 2023-10-17 18:26:31 +03:00 committed by soloturn
parent 0b261dd5d7
commit 2843d4e914

View File

@ -33,7 +33,7 @@ public class MultpornRipper extends AbstractHTMLRipper {
@Override
public String getGID(URL url) throws MalformedURLException, URISyntaxException {
Pattern p = Pattern.compile("^https?://multporn\\.net/node/(\\d+).*$");
Pattern p = Pattern.compile("^https?://multporn\\.net/node/(\\d+)/.*$");
Matcher m = p.matcher(url.toExternalForm());
if (m.matches()) {
return m.group(1);
@ -68,4 +68,4 @@ public class MultpornRipper extends AbstractHTMLRipper {
protected void downloadURL(URL url, int index) {
addURLToDownload(url, getPrefix(index), "", this.url.toExternalForm(), null);
}
}
}