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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user