Support mpv links
This commit is contained in:
1 parent
7379bdaa67
commit
e07316f25a
2 files changed
+2
-2
No files matched your search
@@ -58,7 +58,7 @@ public class EhUrl {
|
||||
private static final String URL_PREFIX_THUMB_E = "https://ehgt.org/t/";
|
||||
private static final String URL_PREFIX_THUMB_EX = "https://exhentai.org/t/";
|
||||
|
||||
public static final Pattern PATTERN_DETAIL_URL = Pattern.compile("g/(\\d+)/([0-9a-f]{10})");
|
||||
public static final Pattern PATTERN_DETAIL_URL = Pattern.compile("(?:g|mpv)/(\\d+)/([0-9a-f]{10})");
|
||||
|
||||
public static String getGalleryDetailUrl(long gid, String token) {
|
||||
return getGalleryDetailUrl(gid, token, 0, false);
|
||||
|
||||
Reference in new issue
Block a user