Merge pull request #40 from metaprime/motherless
getGID seems to be throwing errors on valid gallery urls. closes #39
This commit is contained in:
commit
6ab31d8520
@ -47,7 +47,7 @@ public class MotherlessRipper extends AlbumRipper {
|
||||
|
||||
@Override
|
||||
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());
|
||||
System.err.println(url.toExternalForm());
|
||||
if (!m.matches()) {
|
||||
|
Loading…
Reference in New Issue
Block a user