mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-07 14:26:36 +02:00
getGID seems to be throwing errors on valid gallery urls. closes #39
This commit is contained in:
@@ -47,7 +47,7 @@ public class MotherlessRipper extends AlbumRipper {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getGID(URL url) throws MalformedURLException {
|
public String getGID(URL url) throws MalformedURLException {
|
||||||
Pattern p = Pattern.compile("^https?://(www\\.)?motherless\\.com/G([MVI][A-F0-9]{6,8}).*$");
|
Pattern p = Pattern.compile("^https?://(www\\.)?motherless\\.com/G([MVI]?[A-F0-9]{6,8}).*$");
|
||||||
Matcher m = p.matcher(url.toExternalForm());
|
Matcher m = p.matcher(url.toExternalForm());
|
||||||
System.err.println(url.toExternalForm());
|
System.err.println(url.toExternalForm());
|
||||||
if (!m.matches()) {
|
if (!m.matches()) {
|
||||||
|
Reference in New Issue
Block a user