fixed porncomix.info ripper

This commit is contained in:
cyian-1756 2017-10-31 21:48:05 -04:00
parent a05a9689f6
commit fec24fc697

View File

@ -34,7 +34,7 @@ public class PorncomixRipper extends AbstractHTMLRipper {
@Override @Override
public String getGID(URL url) throws MalformedURLException { public String getGID(URL url) throws MalformedURLException {
Pattern p = Pattern.compile("https?://www.porncomix.info/([a-zA-Z1-9_-]*)/?$"); Pattern p = Pattern.compile("https?://www.porncomix.info/([a-zA-Z0-9_\\-]*)/?$");
Matcher m = p.matcher(url.toExternalForm()); Matcher m = p.matcher(url.toExternalForm());
if (m.matches()) { if (m.matches()) {
return m.group(1); return m.group(1);