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:
parent
0b261dd5d7
commit
2843d4e914
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user