Update XhamsterRipper.java

This will able the ripper to detect galleries with the de.xhamster subdomain.
This commit is contained in:
g-3x 2014-11-17 01:53:21 +01:00
parent bf933069c2
commit 8df6a1612a

View File

@ -23,7 +23,7 @@ public class XhamsterRipper extends AlbumRipper {
@Override @Override
public boolean canRip(URL url) { public boolean canRip(URL url) {
Pattern p = Pattern.compile("^https?://[wm.]*xhamster\\.com/photos/gallery/[0-9]+.*$"); Pattern p = Pattern.compile("^https?://[wmde.]*xhamster\\.com/photos/gallery/[0-9]+.*$");
Matcher m = p.matcher(url.toExternalForm()); Matcher m = p.matcher(url.toExternalForm());
return m.matches(); return m.matches();
} }