1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-06 13:56:34 +02: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 @Override
public String getGID(URL url) throws MalformedURLException, URISyntaxException { 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()); Matcher m = p.matcher(url.toExternalForm());
if (m.matches()) { if (m.matches()) {
return m.group(1); return m.group(1);