Merge pull request #40 from metaprime/motherless

getGID seems to be throwing errors on valid gallery urls. closes #39
This commit is contained in:
4pr0n 2014-05-13 22:23:04 -07:00
commit 6ab31d8520

View File

@ -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()) {