Update XhamsterRipper.java
This will able the ripper to detect galleries with the de.xhamster subdomain.
This commit is contained in:
parent
bf933069c2
commit
8df6a1612a
@ -23,7 +23,7 @@ public class XhamsterRipper extends AlbumRipper {
|
||||
|
||||
@Override
|
||||
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());
|
||||
return m.matches();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user