1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-30 01:00:11 +02:00

Merge pull request #1263 from cyian-1756/erome-meta-ripping-fixes

Erome ripper supports pages
This commit is contained in:
cyian-1756
2019-04-02 16:40:30 -05:00
committed by GitHub

View File

@@ -51,7 +51,7 @@ public class EromeRipper extends AbstractHTMLRipper {
@Override
public boolean pageContainsAlbums(URL url) {
Pattern pa = Pattern.compile("https?://www.erome.com/([a-zA-Z0-9_-]*)/?");
Pattern pa = Pattern.compile("https?://www.erome.com/([a-zA-Z0-9_\\-?=]*)/?");
Matcher ma = pa.matcher(url.toExternalForm());
return ma.matches();
}
@@ -111,7 +111,7 @@ public class EromeRipper extends AbstractHTMLRipper {
return m.group(1);
}
p = Pattern.compile("^https?://www.erome.com/([a-zA-Z0-9_-]+)/?$");
p = Pattern.compile("^https?://www.erome.com/([a-zA-Z0-9_\\-?=]+)/?$");
m = p.matcher(url.toExternalForm());
if (m.matches()) {