1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-28 16:19:58 +02:00

Merge pull request #367 from cyian-1756/hentai-cafe

Fixed hentai.cafe regex
This commit is contained in:
cyian-1756
2018-01-04 15:44:03 -05:00
committed by GitHub

View File

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