Fixed erome video downloading

This commit is contained in:
cyian-1756 2018-07-13 19:01:55 -04:00
parent ea00d90a07
commit 3287b8c59a

View File

@ -105,7 +105,7 @@ public class EromeRipper extends AbstractHTMLRipper {
@Override
public String getGID(URL url) throws MalformedURLException {
Pattern p = Pattern.compile("^https?://www.erome.com/a/([a-zA-Z0-9]*)/?$");
Pattern p = Pattern.compile("^https?://www.erome.com/[ai]/([a-zA-Z0-9]*)/?$");
Matcher m = p.matcher(url.toExternalForm());
if (m.matches()) {
return m.group(1);