1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-22 21:43:06 +02:00

imagebam gallery regex: (gallery|view)

fix https://github.com/RipMeApp/ripme/issues/1900
This commit is contained in:
soloturn
2021-06-29 06:46:41 +02:00
parent 845ea2721b
commit 0e5267ad7a

View File

@@ -47,7 +47,7 @@ public class ImagebamRipper extends AbstractHTMLRipper {
Pattern p; Pattern p;
Matcher m; Matcher m;
p = Pattern.compile("^https?://[wm.]*imagebam.com/gallery/([a-zA-Z0-9]+).*$"); p = Pattern.compile("^https?://[wm.]*imagebam.com/(gallery|view)/([a-zA-Z0-9]+).*$");
m = p.matcher(url.toExternalForm()); m = p.matcher(url.toExternalForm());
if (m.matches()) { if (m.matches()) {
return m.group(1); return m.group(1);