Add the entry of My Tags
This commit is contained in:
1 parent
c0f20ca975
commit
94f6eecbc7
11 files changed
+259
-74
No files matched your search
@@ -61,6 +61,9 @@ public class EhUrl {
|
||||
public static final String UCONFIG_E = HOST_E + "uconfig.php";
|
||||
public static final String UCONFIG_EX = HOST_EX + "uconfig.php";
|
||||
|
||||
public static final String MY_TAGS_E = HOST_E + "mytags";
|
||||
public static final String MY_TAGS_EX = HOST_EX + "mytags";
|
||||
|
||||
private static final String URL_PREFIX_THUMB_E = "https://ul.ehgt.org/";
|
||||
private static final String URL_PREFIX_THUMB_EX = "https://exhentai.org/t/";
|
||||
|
||||
@@ -128,6 +131,16 @@ public class EhUrl {
|
||||
}
|
||||
}
|
||||
|
||||
public static String getMyTagsUrl() {
|
||||
switch (Settings.getGallerySite()) {
|
||||
default:
|
||||
case SITE_E:
|
||||
return MY_TAGS_E;
|
||||
case SITE_EX:
|
||||
return MY_TAGS_EX;
|
||||
}
|
||||
}
|
||||
|
||||
public static String getGalleryDetailUrl(long gid, String token, int index, boolean allComment) {
|
||||
UrlBuilder builder = new UrlBuilder(getHost() + "g/" + gid + '/' + token + '/');
|
||||
if (index != 0) {
|
||||
|
||||
Reference in new issue
Block a user