Compare commits

...
32 Commits
Author SHA1 Message Date
seven332 a7e4a2cd61 1.5.0 2019-03-19 23:32:13 +08:00
seven332 88baeeb335 Revert "Show pages if it's available"
This reverts commit 08d1ef8
2019-03-19 23:21:05 +08:00
seven332 00289d106d Update EhDns 2019-03-19 23:14:33 +08:00
seven332 08d1ef87d4 Show pages if it's available 2019-03-19 23:04:34 +08:00
seven332 388d507257 Parsing GalleryInfo.rated 2019-03-19 23:03:51 +08:00
seven332 89209a3c44 Don't call API if all data is got 2019-03-19 23:02:08 +08:00
seven332 9208c53d4f Fix gallery list url builder 2019-03-19 22:37:37 +08:00
seven332 defa670a26 Add missing generateSLang() 2019-03-19 21:36:16 +08:00
seven332 2ec229c8ef Fix parsing popular 2019-03-19 21:22:43 +08:00
seven332 e5df5714de Don't show favourited icon on FavouritesScene 2019-03-19 21:04:29 +08:00
seven332 5b8e031e50 Add GalleryListParserTest 2019-03-19 20:57:45 +08:00
seven332 b0ccfe4793 Fix parse category of gallery detail 2019-03-19 20:54:57 +08:00
seven332 b101ae142d Fix parsing gallery list 2019-03-19 20:51:19 +08:00
seven332 c165c9071d Enable builtin hosts if the country is CN 2019-03-15 15:45:14 +08:00
seven332 7fc9ef9e1f Android Studio 3.3.2 2019-03-15 15:44:45 +08:00
seven332 c4514589c0 Fix France name 2019-03-13 13:35:34 +08:00
seven332 0305c541aa Fix Thai translations 2019-03-13 13:03:45 +08:00
seven332 7631e3b4f9 Apply Thai translations 2019-03-13 13:02:09 +08:00
seven332 350d846a39 Merge pull request #544 from maxjame5432/master
Add Thai langauge
2019-03-13 12:38:29 +08:00
maxjame5432 c119562c16 First commit 2019-03-13 01:24:06 +07:00
Mekokung 37de170729 Add Thai language
Add Thai language
2019-03-12 20:44:34 +07:00
Mekokung 8d992d737e Merge pull request #1 from maxjame5432/thai-lang
Add Thai language
2019-03-12 20:40:24 +07:00
Mekokung 81434a682f Add Thai Language
Add thai language in your app
2019-03-12 17:10:46 +07:00
Mekokung b3a446ffcd Add thai language
add thai language translation
2019-03-12 16:32:52 +07:00
seven332 e659ba91b4 Fix English translations
"Swipe to left" or "Swipe left"?
2019-03-11 22:24:41 +08:00
seven332 7866722ec4 Fix ripple clipping in pre-L devices 2019-03-05 14:44:28 +08:00
seven332 2a944f5e0a Adjust the center of circular reveal in gallery detail scene 2019-03-05 14:20:18 +08:00
seven332 34eccad8be Use AndroidX transition library 2019-03-05 12:39:48 +08:00
seven332 57a18b7215 Add warning about minors 2019-02-27 15:22:12 +08:00
seven332 6c253238ad Show an icon if the gallery is downloaded 2019-02-23 17:04:17 +08:00
seven332 c08068eeea Show heart icon if the gallery is favourited 2019-02-23 16:23:14 +08:00
seven332 303c51f93d Remove "No more new SkipHathKey" tip
It's confusing.
2019-02-23 00:40:23 +08:00
47 changed files with 1442 additions and 562 deletions

No files matched your search

+5 -4
View File
@@ -12,11 +12,12 @@ android {
applicationId "com.hippo.ehviewer"
minSdkVersion 14
targetSdkVersion 28
versionCode 95
versionName "1.4.2"
versionCode 96
versionName "1.5.0"
vectorDrawables.useSupportLibrary = true
resConfigs "zh", "zh-rCN", "zh-rHK", "zh-rTW",
"es", "ja", "ko", "fr", "de"
"es", "ja", "ko", "fr", "de", "th"
testOptions.unitTests.includeAndroidResources = true
ndk {
abiFilters "armeabi-v7a", "x86"
}
@@ -101,7 +102,7 @@ dependencies {
implementation 'org.greenrobot:greendao:2.2.1'
implementation 'org.jsoup:jsoup:1.11.3'
testImplementation 'junit:junit:4.12'
testImplementation 'org.robolectric:robolectric:3.8'
testImplementation 'org.robolectric:robolectric:4.2.1'
testImplementation 'org.jooq:joor:0.9.6'
}
@@ -356,6 +356,11 @@ public class EhApplication extends RecordingApplication {
return application.mSpiderInfoCache;
}
@NonNull
public static DownloadManager getDownloadManager() {
return getDownloadManager(instance);
}
@NonNull
public static DownloadManager getDownloadManager(@NonNull Context context) {
EhApplication application = ((EhApplication) context.getApplicationContext());
@@ -36,6 +36,7 @@ import com.hippo.yorozuya.FileUtils;
import com.hippo.yorozuya.MathUtils;
import com.hippo.yorozuya.NumberUtils;
import java.io.File;
import java.util.Locale;
public class Settings {
@@ -49,6 +50,16 @@ public class Settings {
sContext = context.getApplicationContext();
sSettingsPre = PreferenceManager.getDefaultSharedPreferences(sContext);
sEhConfig = loadEhConfig();
fixDefaultValue(context);
}
private static void fixDefaultValue(Context context) {
// Enable builtin hosts if the country is CN
if (!sSettingsPre.contains(KEY_BUILT_IN_HOSTS)) {
if ("CN".equals(Locale.getDefault().getCountry())) {
putBuiltInHosts(true);
}
}
}
private static EhConfig loadEhConfig() {
@@ -46,7 +46,6 @@ public class EhClient {
public static final int METHOD_ADD_FAVORITES_RANGE = 10;
public static final int METHOD_MODIFY_FAVORITES = 11;
public static final int METHOD_GET_TORRENT_LIST = 12;
public static final int METHOD_GET_WHATS_HOT = 13;
public static final int METHOD_GET_PROFILE = 14;
public static final int METHOD_VOTE_COMMENT = 15;
public static final int METHOD_IMAGE_SEARCH = 16;
@@ -162,8 +161,6 @@ public class EhClient {
return EhEngine.modifyFavorites(this, mOkHttpClient, (String) params[0], (long[]) params[1], (Integer) params[2], (Boolean) params[3]);
case METHOD_GET_TORRENT_LIST:
return EhEngine.getTorrentList(this, mOkHttpClient, (String) params[0], (Long) params[1], (String) params[2]);
case METHOD_GET_WHATS_HOT:
return EhEngine.getWhatsHot(this, mOkHttpClient);
case METHOD_GET_PROFILE:
return EhEngine.getProfile(this, mOkHttpClient);
case METHOD_VOTE_COMMENT:
@@ -289,6 +289,7 @@ public class EhConfig implements Cloneable {
public static final int ASIAN_PORN = 0x80;
public static final int NON_H = 0x100;
public static final int WESTERN = 0x200;
public static final int ALL_CATEGORY = 0x3ff;
public static final int NAMESPACES_RECLASS = 0x1;
public static final int NAMESPACES_LANGUAGE = 0x2;
@@ -39,11 +39,13 @@ public class EhDns implements Dns {
static {
Map<String, InetAddress> map = new HashMap<>();
put(map, "e-hentai.org", "104.24.255.11");
put(map, "e-hentai.org", "104.20.26.25");
put(map, "repo.e-hentai.org", "94.100.29.73");
put(map, "forums.e-hentai.org", "94.100.18.243");
put(map, "ehgt.org", "81.171.14.118");
put(map, "ul.ehgt.org", "94.100.24.82");
put(map, "github.com", "192.30.255.112");
put(map, "raw.githubusercontent.com", "151.101.0.133");
builtInHosts = map;
}
@@ -46,7 +46,6 @@ import com.hippo.ehviewer.client.parser.RateGalleryParser;
import com.hippo.ehviewer.client.parser.SignInParser;
import com.hippo.ehviewer.client.parser.TorrentParser;
import com.hippo.ehviewer.client.parser.VoteCommentParser;
import com.hippo.ehviewer.client.parser.WhatsHotParser;
import com.hippo.network.StatusCodeException;
import com.hippo.util.ExceptionUtils;
import com.hippo.yorozuya.AssertUtils;
@@ -174,6 +173,58 @@ public class EhEngine {
}
}
private static void fillGalleryList(@Nullable EhClient.Task task, OkHttpClient okHttpClient, List<GalleryInfo> list, String url, boolean filter) throws Throwable {
// Filter title and uploader
if (filter) {
for (int i = 0, n = list.size(); i < n; i++) {
GalleryInfo info = list.get(i);
if (!sEhFilter.filterTitle(info) || !sEhFilter.filterUploader(info)) {
list.remove(i);
i--;
n--;
}
}
}
boolean hasTags = false;
boolean hasPages = false;
boolean hasRated = false;
for (GalleryInfo gi : list) {
if (gi.simpleTags != null) {
hasTags = true;
}
if (gi.pages != 0) {
hasPages = true;
}
if (gi.rated) {
hasRated = true;
}
}
boolean needApi = (filter && sEhFilter.needTags() && !hasTags) ||
(Settings.getShowGalleryPages() && !hasPages) ||
hasRated;
if (needApi) {
fillGalleryListByApi(task, okHttpClient, list, url);
}
// Filter tag
if (filter) {
for (int i = 0, n = list.size(); i < n; i++) {
GalleryInfo info = list.get(i);
if (!sEhFilter.filterTag(info) || !sEhFilter.filterTagNamespace(info)) {
list.remove(i);
i--;
n--;
}
}
}
for (GalleryInfo info : list) {
info.thumb = EhUrl.getFixedPreviewThumbUrl(info.thumb);
}
}
public static GalleryListParser.Result getGalleryList(@Nullable EhClient.Task task, OkHttpClient okHttpClient,
String url) throws Throwable {
String referer = EhUrl.getReferer();
@@ -202,50 +253,7 @@ public class EhEngine {
throw e;
}
// Filter title and uploader
List<GalleryInfo> list = result.galleryInfoList;
for (int i = 0, n = list.size(); i < n; i++) {
GalleryInfo info = list.get(i);
if (!sEhFilter.filterTitle(info) || !sEhFilter.filterUploader(info)) {
list.remove(i);
i--;
n--;
}
}
boolean anyRated = false;
for (GalleryInfo info : list) {
if (info.rated) {
anyRated = true;
break;
}
}
boolean needFillByApi = list.size() > 0
&& (TextUtils.isEmpty(list.get(0).uploader)
|| anyRated
|| Settings.getShowJpnTitle()
|| Settings.getShowGalleryPages()
|| sEhFilter.needCallApi());
if (needFillByApi) {
// Fill by api
fillGalleryListByApi(task, okHttpClient, list, url);
// Filter tag
for (int i = 0, n = list.size(); i < n; i++) {
GalleryInfo info = list.get(i);
if (!sEhFilter.filterTag(info) || !sEhFilter.filterTagNamespace(info)) {
list.remove(i);
i--;
n--;
}
}
}
for (GalleryInfo info : list) {
info.thumb = EhUrl.getFixedPreviewThumbUrl(info.thumb);
}
fillGalleryList(task, okHttpClient, result.galleryInfoList, url, true);
return result;
}
@@ -512,15 +520,7 @@ public class EhEngine {
throw e;
}
List<GalleryInfo> list = result.galleryInfoList;
if (list.size() > 0 && (TextUtils.isEmpty(list.get(0).uploader) || Settings.getShowJpnTitle() || Settings.getShowGalleryPages())) {
fillGalleryListByApi(task, okHttpClient, list, url);
}
for (GalleryInfo info : list) {
info.thumb = EhUrl.getFixedPreviewThumbUrl(info.thumb);
}
fillGalleryList(task, okHttpClient, result.galleryInfoList, url, false);
return result;
}
@@ -629,14 +629,7 @@ public class EhEngine {
throw e;
}
List<GalleryInfo> list = result.galleryInfoList;
if (list.size() > 0 && (TextUtils.isEmpty(list.get(0).uploader) || Settings.getShowJpnTitle() || Settings.getShowGalleryPages())) {
fillGalleryListByApi(task, okHttpClient, list, url);
}
for (GalleryInfo info : list) {
info.thumb = EhUrl.getFixedPreviewThumbUrl(info.thumb);
}
fillGalleryList(task, okHttpClient, result.galleryInfoList, url, false);
return result;
}
@@ -750,46 +743,6 @@ public class EhEngine {
return null;
}
public static List<GalleryInfo> getWhatsHot(@Nullable EhClient.Task task,
OkHttpClient okHttpClient) throws Throwable {
String url = EhUrl.HOST_E;
Log.d(TAG, url);
Request request = new EhRequestBuilder(url, null).build();
Call call = okHttpClient.newCall(request);
// Put call
if (null != task) {
task.setCall(call);
}
String body = null;
Headers headers = null;
List<GalleryInfo> list;
int code = -1;
try {
Response response = call.execute();
code = response.code();
headers = response.headers();
body = response.body().string();
list = WhatsHotParser.parse(body);
} catch (Throwable e) {
ExceptionUtils.throwIfFatal(e);
throwException(call, code, headers, body, e);
throw e;
}
if (list.size() > 0) {
// Fill by api
fillGalleryListByApi(task, okHttpClient, list, url);
}
for (GalleryInfo info : list) {
info.thumb = EhUrl.getFixedPreviewThumbUrl(info.thumb);
}
return list;
}
private static ProfileParser.Result getProfileInternal(@Nullable EhClient.Task task,
OkHttpClient okHttpClient, String url, String referer) throws Throwable {
Log.d(TAG, url);
@@ -952,35 +905,7 @@ public class EhEngine {
throw e;
}
// Filter title and uploader
List<GalleryInfo> list = result.galleryInfoList;
for (int i = 0, n = list.size(); i < n; i++) {
GalleryInfo info = list.get(i);
if (!sEhFilter.filterTitle(info) || !sEhFilter.filterUploader(info)) {
list.remove(i);
i--;
n--;
}
}
if (list.size() > 0 && (TextUtils.isEmpty(list.get(0).uploader) || Settings.getShowJpnTitle() || Settings.getShowGalleryPages() || sEhFilter.needCallApi())) {
// Fill by api
fillGalleryListByApi(task, okHttpClient, list, url);
// Filter tag
for (int i = 0, n = list.size(); i < n; i++) {
GalleryInfo info = list.get(i);
if (!sEhFilter.filterTag(info) || !sEhFilter.filterTagNamespace(info)) {
list.remove(i);
i--;
n--;
}
}
}
for (GalleryInfo info : list) {
info.thumb = EhUrl.getFixedPreviewThumbUrl(info.thumb);
}
fillGalleryList(task, okHttpClient, result.galleryInfoList, url, true);
return result;
}
@@ -144,7 +144,7 @@ public final class EhFilter {
}
}
public synchronized boolean needCallApi() {
public synchronized boolean needTags() {
return 0 != mTagFilterList.size() || 0 != mTagNamespaceFilterList.size();
}
@@ -40,6 +40,9 @@ public class EhUrl {
public static final String API_E = HOST_E + "api.php";
public static final String API_EX = HOST_EX + "api.php";
public static final String URL_POPULAR_E = "https://e-hentai.org/popular";
public static final String URL_POPULAR_EX = "https://exhentai.org/popular";
public static final String URL_IMAGE_SEARCH_E = "https://upload.e-hentai.org/image_lookup.php";
public static final String URL_IMAGE_SEARCH_EX = "https://exhentai.org/upload/image_lookup.php";
@@ -152,6 +155,17 @@ public class EhUrl {
return "https://ehwiki.org/wiki/" + tag.replace(' ', '_');
}
@NonNull
public static String getPopularUrl() {
switch (Settings.getGallerySite()) {
default:
case SITE_E:
return URL_POPULAR_E;
case SITE_EX:
return URL_POPULAR_EX;
}
}
@NonNull
public static String getImageSearchUrl() {
switch (Settings.getGallerySite()) {
@@ -70,9 +70,9 @@ public class EhUtils {
new String[] { "misc" },
new String[] { "doujinshi" },
new String[] { "manga" },
new String[] { "artistcg", "Artist CG Sets" },
new String[] { "gamecg", "Game CG Sets" },
new String[] { "imageset", "Image Sets" },
new String[] { "artistcg", "Artist CG Sets", "Artist CG" },
new String[] { "gamecg", "Game CG Sets", "Game CG" },
new String[] { "imageset", "Image Sets", "Image Set" },
new String[] { "cosplay" },
new String[] { "asianporn", "Asian Porn" },
new String[] { "non-h" },
@@ -40,7 +40,6 @@ public class GalleryDetail extends GalleryInfo {
public GalleryComment[] comments;
public int previewPages;
public PreviewSet previewSet;
public String favoriteName;
@Override
public int describeContents() {
@@ -65,7 +64,6 @@ public class GalleryDetail extends GalleryInfo {
dest.writeParcelableArray(this.comments, 0);
dest.writeInt(this.previewPages);
dest.writeParcelable(previewSet, flags);
dest.writeString(this.favoriteName);
}
public GalleryDetail() {
@@ -98,7 +96,6 @@ public class GalleryDetail extends GalleryInfo {
}
this.previewPages = in.readInt();
this.previewSet = in.readParcelable(PreviewSet.class.getClassLoader());
this.favoriteName = in.readString();
}
public static final Creator<GalleryDetail> CREATOR = new Creator<GalleryDetail>() {
@@ -104,6 +104,7 @@ public class GalleryInfo implements Parcelable {
public String posted;
public String uploader;
public float rating;
public boolean rated;
@Nullable
public String[] simpleTags;
public int pages;
@@ -120,7 +121,10 @@ public class GalleryInfo implements Parcelable {
*/
public String simpleLanguage;
public boolean rated;
public int favoriteSlot = -2;
public String favoriteName;
public boolean downloaded;
public final void generateSLang() {
if (simpleTags != null) {
@@ -168,6 +172,7 @@ public class GalleryInfo implements Parcelable {
dest.writeString(this.posted);
dest.writeString(this.uploader);
dest.writeFloat(this.rating);
dest.writeByte(this.rated ? (byte) 1 : (byte) 0);
dest.writeString(this.simpleLanguage);
dest.writeStringArray(this.simpleTags);
dest.writeInt(this.thumbWidth);
@@ -175,6 +180,9 @@ public class GalleryInfo implements Parcelable {
dest.writeInt(this.spanSize);
dest.writeInt(this.spanIndex);
dest.writeInt(this.spanGroupIndex);
dest.writeInt(this.favoriteSlot);
dest.writeString(this.favoriteName);
dest.writeByte(this.downloaded ? (byte) 1 : (byte) 0);
}
public GalleryInfo() {}
@@ -189,6 +197,7 @@ public class GalleryInfo implements Parcelable {
this.posted = in.readString();
this.uploader = in.readString();
this.rating = in.readFloat();
this.rated = in.readByte() != 0;
this.simpleLanguage = in.readString();
this.simpleTags = in.createStringArray();
this.thumbWidth = in.readInt();
@@ -196,6 +205,9 @@ public class GalleryInfo implements Parcelable {
this.spanSize = in.readInt();
this.spanIndex = in.readInt();
this.spanGroupIndex = in.readInt();
this.favoriteSlot = in.readInt();
this.favoriteName = in.readString();
this.downloaded = in.readByte() != 0;
}
public static final Parcelable.Creator<GalleryInfo> CREATOR = new Parcelable.Creator<GalleryInfo>() {
@@ -384,28 +384,19 @@ public class ListUrlBuilder implements Cloneable, Parcelable {
switch (mMode) {
default:
case MODE_NORMAL: {
boolean filter = false;
UrlBuilder ub = new UrlBuilder(EhUrl.getHost());
if (mCategory != EhUtils.NONE) {
ub.addQuery("f_doujinshi", ((mCategory & EhConfig.DOUJINSHI) == 0) ? "0" : "1");
ub.addQuery("f_manga", ((mCategory & EhConfig.MANGA) == 0) ? "0" : "1");
ub.addQuery("f_artistcg", ((mCategory & EhConfig.ARTIST_CG) == 0) ? "0" : "1");
ub.addQuery("f_gamecg", ((mCategory & EhConfig.GAME_CG) == 0) ? "0" : "1");
ub.addQuery("f_western", ((mCategory & EhConfig.WESTERN) == 0) ? "0" : "1");
ub.addQuery("f_non-h", ((mCategory & EhConfig.NON_H) == 0) ? "0" : "1");
ub.addQuery("f_imageset", ((mCategory & EhConfig.IMAGE_SET) == 0) ? "0" : "1");
ub.addQuery("f_cosplay", ((mCategory & EhConfig.COSPLAY) == 0) ? "0" : "1");
ub.addQuery("f_asianporn", ((mCategory & EhConfig.ASIAN_PORN) == 0) ? "0" : "1");
ub.addQuery("f_misc", ((mCategory & EhConfig.MISC) == 0) ? "0" : "1");
filter = true;
ub.addQuery("f_cats", (~mCategory) & EhConfig.ALL_CATEGORY);
}
// Search key
if (mKeyword != null) {
try {
ub.addQuery("f_search", URLEncoder.encode(mKeyword, "UTF-8"));
filter = true;
} catch (UnsupportedEncodingException e) {
// Empty
String keyword = mKeyword.trim();
if (!keyword.isEmpty()) {
try {
ub.addQuery("f_search", URLEncoder.encode(mKeyword, "UTF-8"));
} catch (UnsupportedEncodingException e) {
// Empty
}
}
}
// Page index
@@ -428,11 +419,6 @@ public class ListUrlBuilder implements Cloneable, Parcelable {
ub.addQuery("f_sr", "on");
ub.addQuery("f_srdd", mMinRating);
}
filter = true;
}
// Add filter foot
if (filter) {
ub.addQuery("f_apply", "Apply+Filter");
}
return ub.build();
}
@@ -462,6 +448,8 @@ public class ListUrlBuilder implements Cloneable, Parcelable {
}
return sb.toString();
}
case MODE_WHATS_HOT:
return EhUrl.getPopularUrl();
case MODE_IMAGE_SEARCH:
return EhUrl.getImageSearchUrl();
}
@@ -167,9 +167,11 @@ public class GalleryDetailParser {
// Category
Element gdc = gm.getElementById("gdc");
try {
String href = gdc.child(0).attr("href");
String category = href.substring(href.lastIndexOf('/') + 1);
gd.category = EhUtils.getCategory(category);
Element ce = JsoupUtils.getElementByClass(gdc, "cn");
if (ce == null) {
ce = JsoupUtils.getElementByClass(gdc, "cs");
}
gd.category = EhUtils.getCategory(ce.text());
} catch (Throwable e) {
ExceptionUtils.throwIfFatal(e);
gd.category = EhUtils.UNKNOWN;
@@ -337,10 +339,20 @@ public class GalleryDetailParser {
try {
Element taglist = document.getElementById("taglist");
Elements tagGroups = taglist.child(0).child(0).children();
return parseTagGroups(tagGroups);
} catch (Throwable e) {
ExceptionUtils.throwIfFatal(e);
e.printStackTrace();
return EMPTY_GALLERY_TAG_GROUP_ARRAY;
}
}
List<GalleryTagGroup> list = new ArrayList<>(tagGroups.size());
for (int i = 0, n = tagGroups.size(); i < n; i++) {
GalleryTagGroup group = parseTagGroup(tagGroups.get(i));
@NonNull
public static GalleryTagGroup[] parseTagGroups(Elements trs) {
try {
List<GalleryTagGroup> list = new ArrayList<>(trs.size());
for (int i = 0, n = trs.size(); i < n; i++) {
GalleryTagGroup group = parseTagGroup(trs.get(i));
if (null != group) {
list.add(group);
}
@@ -18,9 +18,11 @@ package com.hippo.ehviewer.client.parser;
import android.util.Log;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.hippo.ehviewer.EhApplication;
import com.hippo.ehviewer.EhDB;
import com.hippo.ehviewer.client.EhUtils;
import com.hippo.ehviewer.client.data.GalleryInfo;
import com.hippo.ehviewer.client.data.GalleryTagGroup;
import com.hippo.ehviewer.client.exception.ParseException;
import com.hippo.util.ExceptionUtils;
import com.hippo.util.JsoupUtils;
@@ -41,7 +43,22 @@ public class GalleryListParser {
private static final String TAG = GalleryListParser.class.getSimpleName();
private static final Pattern PATTERN_RATING = Pattern.compile("\\d+px");
private static final Pattern PATTERN_THUMB_SIZE = Pattern.compile("height:(\\d+)px; width:(\\d+)px");
private static final Pattern PATTERN_THUMB_SIZE = Pattern.compile("height:(\\d+)px;width:(\\d+)px");
private static final Pattern PATTERN_FAVORITE_SLOT = Pattern.compile("background-color:rgba\\((\\d+),(\\d+),(\\d+),");
private static final Pattern PATTERN_PAGES = Pattern.compile("(\\d+) page");
private static final String[][] FAVORITE_SLOT_RGB = new String[][] {
new String[] { "0", "0", "0"},
new String[] { "240", "0", "0"},
new String[] { "240", "160", "0"},
new String[] { "208", "208", "0"},
new String[] { "0", "128", "0"},
new String[] { "144", "240", "64"},
new String[] { "64", "176", "240"},
new String[] { "0", "0", "240"},
new String[] { "80", "0", "128"},
new String[] { "224", "128", "224"},
};
public static class Result {
public int pages;
@@ -83,30 +100,69 @@ public class GalleryListParser {
return re;
}
@Nullable
private static int parseFavoriteSlot(String style) {
Matcher m = PATTERN_FAVORITE_SLOT.matcher(style);
if (m.find()) {
String r = m.group(1);
String g = m.group(2);
String b = m.group(3);
int slot = 0;
for (String[] rgb : FAVORITE_SLOT_RGB) {
if (r.equals(rgb[0]) && g.equals(rgb[1]) && b.equals(rgb[2])) {
return slot;
}
slot++;
}
}
return -2;
}
private static GalleryInfo parseGalleryInfo(Element e) {
GalleryInfo gi = new GalleryInfo();
// Get category
Element ic = JsoupUtils.getElementByClass(e, "ic");
if (null != ic) {
gi.category = EhUtils.getCategory(ic.attr("alt").trim());
} else {
Log.w(TAG, "Can't parse gallery info category");
gi.category = EhUtils.UNKNOWN;
// Title, gid, token (required), tags
Element glname = JsoupUtils.getElementByClass(e, "glname");
if (glname != null) {
Element a = JsoupUtils.getElementByTag(glname, "a");
if (a != null) {
GalleryDetailUrlParser.Result result = GalleryDetailUrlParser.parse(a.attr("href"));
if (result != null) {
gi.gid = result.gid;
gi.token = result.token;
gi.title = a.text().trim();
}
}
Element tbody = JsoupUtils.getElementByTag(glname, "tbody");
if (tbody != null) {
ArrayList<String> tags = new ArrayList<>();
GalleryTagGroup[] groups = GalleryDetailParser.parseTagGroups(tbody.children());
for (GalleryTagGroup group : groups) {
for (int j = 0; j < group.size(); j++) {
tags.add(group.groupName + ":" + group.getTagAt(j));
}
}
gi.simpleTags = tags.toArray(new String[tags.size()]);
}
}
// Posted
Element itd = JsoupUtils.getElementByClass(e, "itd");
if (null != itd) {
gi.posted = itd.text().trim();
} else {
Log.w(TAG, "Can't parse gallery info posted");
gi.posted = "";
if (gi.title == null) {
return null;
}
// Category
gi.category = EhUtils.UNKNOWN;
Element ce = JsoupUtils.getElementByClass(e, "cn");
if (ce == null) {
ce = JsoupUtils.getElementByClass(e, "cs");
}
if (ce != null) {
gi.category = EhUtils.getCategory(ce.text());
}
// Thumb
Element it2 = JsoupUtils.getElementByClass(e, "it2");
if (null != it2) {
Element glthumb = JsoupUtils.getElementByClass(e, "glthumb");
if (glthumb != null) {
// Thumb size
Matcher m = PATTERN_THUMB_SIZE.matcher(it2.attr("style"));
Matcher m = PATTERN_THUMB_SIZE.matcher(glthumb.attr("style"));
if (m.find()) {
gi.thumbWidth = NumberUtils.parseIntSafely(m.group(2), 0);
gi.thumbHeight = NumberUtils.parseIntSafely(m.group(1), 0);
@@ -115,124 +171,91 @@ public class GalleryListParser {
gi.thumbWidth = 0;
gi.thumbHeight = 0;
}
// Thumb url
Elements es = it2.children();
if (null != es && es.size() >= 1) {
gi.thumb = EhUtils.handleThumbUrlResolution(es.get(0).attr("src"));
Element img = glthumb.children().first();
if (img != null) {
gi.thumb = EhUtils.handleThumbUrlResolution(img.attr("src"));
} else {
String html = it2.html();
String html = glthumb.html();
int index1 = html.indexOf('~');
int index2 = StringUtils.ordinalIndexOf(html, '~', 2);
if (index1 < index2) {
gi.thumb = EhUtils.handleThumbUrlResolution(
"http://" +StringUtils.replace(html.substring(index1 + 1, index2), "~", "/"));
} else {
Log.w(TAG, "Can't parse gallery info thumb url");
gi.thumb = "";
"https://" +StringUtils.replace(html.substring(index1 + 1, index2), "~", "/"));
}
}
} else {
Log.w(TAG, "Can't parse gallery info thumb");
gi.thumbWidth = 0;
gi.thumbHeight = 0;
gi.thumb = "";
}
// Title (required)
Element it5 = JsoupUtils.getElementByClass(e, "it5");
if (null == it5) {
Log.e(TAG, "Can't parse gallery info title, step 1");
return null;
}
Elements es = it5.children();
if (null == es || es.size() <= 0) {
Log.e(TAG, "Can't parse gallery info title, step 2");
return null;
}
Element a = es.get(0);
GalleryDetailUrlParser.Result result = GalleryDetailUrlParser.parse(a.attr("href"));
if (null == result) {
Log.e(TAG, "Can't parse gallery info title, step 3");
return null;
}
gi.gid = result.gid;
gi.token = result.token;
gi.title = a.text().trim();
// Rating
Element it4r = JsoupUtils.getElementByClass(e, "it4r");
if (null != it4r) {
gi.rating = NumberUtils.parseFloatSafely(parseRating(it4r.attr("style")), -1.0f);
// TODO The gallery may be rated even if it has one of these classes
gi.rated = it4r.hasClass("irr") || it4r.hasClass("irg") || it4r.hasClass("irb");
} else {
Log.w(TAG, "Can't parse gallery info rating");
gi.rating = -1.0f;
}
// Uploader
Element itu = JsoupUtils.getElementByClass(e, "itu");
if (null != itu) {
gi.uploader = itu.text().trim();
} else {
Log.w(TAG, "Can't parse gallery info uploader");
gi.uploader = "";
}
gi.generateSLang();
return gi;
}
@Nullable
private static GalleryInfo parseGalleryInfoThumbVersion(Element e) {
GalleryInfo gi = new GalleryInfo();
// Title (required)
Element id2 = JsoupUtils.getElementByClass(e, "id2");
if (id2 == null) {
return null;
}
gi.title = id2.text().trim();
// gid, token (required)
Element a = id2.children().first();
if (a == null) {
return null;
}
GalleryDetailUrlParser.Result result = GalleryDetailUrlParser.parse(a.attr("href"));
if (result == null) {
return null;
}
gi.gid = result.gid;
gi.token = result.token;
// Thumbnail
Element id3 = JsoupUtils.getElementByClass(e, "id3");
if (id3 != null) {
a = id3.children().first();
if (a != null) {
Element img = a.children().first();
// Try extended and thumbnail version
if (gi.thumb == null) {
Element gl = JsoupUtils.getElementByClass(e, "gl1e");
if (gl == null) {
gl = JsoupUtils.getElementByClass(e, "gl3t");
}
if (gl != null) {
Element img = JsoupUtils.getElementByTag(gl, "img");
if (img != null) {
// Thumb size
Matcher m = PATTERN_THUMB_SIZE.matcher(img.attr("style"));
if (m.find()) {
gi.thumbWidth = NumberUtils.parseIntSafely(m.group(2), 0);
gi.thumbHeight = NumberUtils.parseIntSafely(m.group(1), 0);
} else {
Log.w(TAG, "Can't parse gallery info thumb size");
gi.thumbWidth = 0;
gi.thumbHeight = 0;
}
gi.thumb = EhUtils.handleThumbUrlResolution(img.attr("src"));
}
}
}
// Category
Element id41 = JsoupUtils.getElementByClass(e, "id41");
if (id41 != null) {
gi.category = EhUtils.getCategory(id41.attr("title").trim());
} else {
gi.category = EhUtils.UNKNOWN;
// Posted
gi.favoriteSlot = -2;
Element posted = e.getElementById("posted_" + gi.gid);
if (posted != null) {
gi.posted = posted.text().trim();
gi.favoriteSlot = parseFavoriteSlot(posted.attr("style"));
}
if (gi.favoriteSlot == -2) {
gi.favoriteSlot = EhDB.containLocalFavorites(gi.gid) ? -1 : -2;
}
// Rating
Element id43 = JsoupUtils.getElementByClass(e, "id43");
if (id43 != null) {
gi.rating = NumberUtils.parseFloatSafely(parseRating(id43.attr("style")), -1.0f);
} else {
gi.rating = -1.0f;
Element ir = JsoupUtils.getElementByClass(e, "ir");
if (ir != null) {
gi.rating = NumberUtils.parseFloatSafely(parseRating(ir.attr("style")), -1.0f);
// TODO The gallery may be rated even if it doesn't has one of these classes
gi.rated = ir.hasClass("irr") || ir.hasClass("irg") || ir.hasClass("irb");
}
// Uploader and pages
Element gl = JsoupUtils.getElementByClass(e, "glhide");
int uploaderIndex = 0;
int pagesIndex = 1;
if (gl == null) {
gl = JsoupUtils.getElementByClass(e, "gl3e");
uploaderIndex = 3;
pagesIndex = 4;
}
if (gl != null) {
Elements children = gl.children();
if (children.size() > uploaderIndex) {
Element a = children.get(uploaderIndex).children().first();
if (a != null) {
gi.uploader = a.text().trim();
}
}
if (children.size() > pagesIndex) {
Matcher matcher = PATTERN_PAGES.matcher(children.get(pagesIndex).text());
if (matcher.find()) {
gi.pages = NumberUtils.parseIntSafely(matcher.group(1), 0);
}
}
}
// Downloaded
gi.downloaded = EhApplication.getDownloadManager().containDownloadInfo(gi.gid);
gi.generateSLang();
return gi;
@@ -243,22 +266,34 @@ public class GalleryListParser {
Document d = Jsoup.parse(body);
try {
result.pages = parsePages(d, body);
} catch (ParseException e) {
Element ptt = d.getElementsByClass("ptt").first();
Elements es = ptt.child(0).child(0).children();
result.pages = Integer.parseInt(es.get(es.size() - 2).text().trim());
} catch (Throwable e) {
ExceptionUtils.throwIfFatal(e);
if (body.contains("No hits found</p>")) {
result.pages = 0;
//noinspection unchecked
result.galleryInfoList = Collections.EMPTY_LIST;
return result;
} else if (body.contains("Currently Popular Recent Galleries")) {
result.pages = 1;
} else {
throw e;
result.pages = Integer.MAX_VALUE;
}
}
try {
Elements es = d.getElementsByClass("itg").first().child(0).children();
List<GalleryInfo> list = new ArrayList<>(es.size() - 1);
for (int i = 1; i < es.size(); i++) { // First one is table header, skip it
Element itg = d.getElementsByClass("itg").first();
Elements es;
if ("table".equalsIgnoreCase(itg.tagName())) {
es = itg.child(0).children();
} else {
es = itg.children();
}
List<GalleryInfo> list = new ArrayList<>(es.size());
// First one is table header, skip it
for (int i = 0; i < es.size(); i++) {
GalleryInfo gi = parseGalleryInfo(es.get(i));
if (null != gi) {
list.add(gi);
@@ -267,27 +302,10 @@ public class GalleryListParser {
result.galleryInfoList = list;
} catch (Throwable e) {
ExceptionUtils.throwIfFatal(e);
e.printStackTrace();
throw new ParseException("Can't parse gallery list", body);
}
// Maybe it's thumbnail version
if (result.galleryInfoList.isEmpty()) {
try {
Elements es = d.getElementsByClass("itg").first().children();
List<GalleryInfo> list = new ArrayList<>(es.size() - 1);
for (int i = 0; i < es.size(); i++) {
GalleryInfo gi = parseGalleryInfoThumbVersion(es.get(i));
if (null != gi) {
list.add(gi);
}
}
result.galleryInfoList = list;
} catch (Throwable e) {
ExceptionUtils.throwIfFatal(e);
throw new ParseException("Can't parse gallery list", body);
}
}
return result;
}
}
@@ -1,61 +0,0 @@
/*
* Copyright 2016 Hippo Seven
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hippo.ehviewer.client.parser;
import com.hippo.ehviewer.client.EhUtils;
import com.hippo.ehviewer.client.data.GalleryInfo;
import com.hippo.ehviewer.client.exception.ParseException;
import com.hippo.util.ExceptionUtils;
import com.hippo.util.JsoupUtils;
import java.util.ArrayList;
import java.util.List;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
public class WhatsHotParser {
@SuppressWarnings("ConstantConditions")
public static List<GalleryInfo> parse(String body) throws ParseException {
try {
List<GalleryInfo> galleryInfoList = new ArrayList<>(15);
Document d = Jsoup.parse(body);
Element pp = d.getElementById("pp");
Elements id1List = pp.getElementsByClass("id1");
for (int i = 0, n = id1List.size(); i < n; i++) {
GalleryInfo galleryInfo = new GalleryInfo();
Element id1 = id1List.get(i);
Element id3 = JsoupUtils.getElementByClass(id1, "id3");
Element temp = JsoupUtils.getElementByTag(id3, "a");
String url = temp.attr("href");
GalleryDetailUrlParser.Result result = GalleryDetailUrlParser.parse(url);
galleryInfo.gid = result.gid;
galleryInfo.token = result.token;
temp = JsoupUtils.getElementByTag(temp, "img");
galleryInfo.thumb = EhUtils.handleThumbUrlResolution(temp.attr("src"));
galleryInfo.title = temp.attr("title");
galleryInfo.generateSLang();
galleryInfoList.add(galleryInfo);
}
return galleryInfoList;
} catch (Throwable e) {
ExceptionUtils.throwIfFatal(e);
throw new ParseException("Parse whats hot error", body);
}
}
}
@@ -1078,7 +1078,6 @@ public final class SpiderQueen implements Runnable {
localShowKey = showKey.get();
if (localShowKey == null || forceHtml) {
if (leakSkipHathKey) {
error = "No more new SkipHathKey";
break;
}
@@ -22,6 +22,8 @@ package com.hippo.ehviewer.ui;
import android.app.Dialog;
import android.content.DialogInterface;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.util.Pair;
import android.view.LayoutInflater;
@@ -86,7 +88,7 @@ public class HostsActivity extends ToolbarActivity
LayoutUtils.dp2pix(this, 1));
decoration.setShowLastDivider(true);
recyclerView.addItemDecoration(decoration);
recyclerView.setSelector(Ripple.generateRippleDrawable(this, !AttrResources.getAttrBoolean(this, R.attr.isLightTheme)));
recyclerView.setSelector(Ripple.generateRippleDrawable(this, !AttrResources.getAttrBoolean(this, R.attr.isLightTheme), new ColorDrawable(Color.TRANSPARENT)));
recyclerView.setHasFixedSize(true);
recyclerView.setOnItemClickListener(this);
recyclerView.setPadding(
@@ -22,7 +22,9 @@ import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Color;
import android.graphics.Point;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask;
import android.os.Build;
@@ -45,6 +47,7 @@ import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.widget.Toolbar;
import androidx.core.view.ViewCompat;
import androidx.recyclerview.widget.RecyclerView;
import androidx.recyclerview.widget.SimpleItemAnimator;
import androidx.recyclerview.widget.StaggeredGridLayoutManager;
@@ -82,7 +85,6 @@ import com.hippo.ripple.Ripple;
import com.hippo.scene.Announcer;
import com.hippo.streampipe.InputStreamPipe;
import com.hippo.unifile.UniFile;
import com.hippo.util.ApiHelper;
import com.hippo.util.DrawableManager;
import com.hippo.util.IoThreadPoolExecutor;
import com.hippo.view.ViewTransition;
@@ -299,7 +301,7 @@ public class DownloadsScene extends ToolbarScene
mLayoutManager.setColumnSize(resources.getDimensionPixelOffset(Settings.getDetailSizeResId()));
mLayoutManager.setStrategy(AutoStaggeredGridLayoutManager.STRATEGY_MIN_SIZE);
mRecyclerView.setLayoutManager(mLayoutManager);
mRecyclerView.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme)));
mRecyclerView.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme), new ColorDrawable(Color.TRANSPARENT)));
mRecyclerView.setDrawSelectorOnTop(true);
mRecyclerView.hasFixedSize();
mRecyclerView.setClipToPadding(false);
@@ -1114,9 +1116,7 @@ public class DownloadsScene extends ToolbarScene
args.putString(GalleryDetailScene.KEY_ACTION, GalleryDetailScene.ACTION_GALLERY_INFO);
args.putParcelable(GalleryDetailScene.KEY_GALLERY_INFO, list.get(index));
Announcer announcer = new Announcer(GalleryDetailScene.class).setArgs(args);
if (ApiHelper.SUPPORT_TRANSITION) {
announcer.setTranHelper(new EnterGalleryDetailTransaction(thumb));
}
announcer.setTranHelper(new EnterGalleryDetailTransaction(thumb));
startScene(announcer);
} else if (start == v) {
Intent intent = new Intent(activity, DownloadService.class);
@@ -1188,8 +1188,7 @@ public class DownloadsScene extends ToolbarScene
// Update transition name
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
long gid = info.gid;
holder.thumb.setTransitionName(TransitionNameFactory.getThumbTransitionName(gid));
ViewCompat.setTransitionName(holder.thumb, TransitionNameFactory.getThumbTransitionName(info.gid));
}
}
@@ -17,11 +17,11 @@
package com.hippo.ehviewer.ui.scene;
import android.content.Context;
import android.os.Build;
import android.transition.TransitionInflater;
import android.view.View;
import androidx.core.view.ViewCompat;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentTransaction;
import androidx.transition.TransitionInflater;
import com.hippo.ehviewer.R;
import com.hippo.scene.TransitionHelper;
@@ -40,16 +40,17 @@ class EnterGalleryDetailTransaction implements TransitionHelper {
return false;
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
String transitionName = ViewCompat.getTransitionName(mThumb);
if (transitionName != null) {
exit.setSharedElementReturnTransition(
TransitionInflater.from(context).inflateTransition(R.transition.trans_move));
exit.setExitTransition(
TransitionInflater.from(context).inflateTransition(android.R.transition.fade));
TransitionInflater.from(context).inflateTransition(R.transition.trans_fade));
enter.setSharedElementEnterTransition(
TransitionInflater.from(context).inflateTransition(R.transition.trans_move));
enter.setEnterTransition(
TransitionInflater.from(context).inflateTransition(android.R.transition.fade));
transaction.addSharedElement(mThumb, mThumb.getTransitionName());
TransitionInflater.from(context).inflateTransition(R.transition.trans_fade));
transaction.addSharedElement(mThumb, transitionName);
}
return true;
}
@@ -21,7 +21,9 @@ import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.content.res.Resources;
import android.graphics.Color;
import android.graphics.Point;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.text.Spannable;
@@ -75,7 +77,6 @@ import com.hippo.refreshlayout.RefreshLayout;
import com.hippo.ripple.Ripple;
import com.hippo.scene.Announcer;
import com.hippo.scene.SceneFragment;
import com.hippo.util.ApiHelper;
import com.hippo.util.DrawableManager;
import com.hippo.widget.ContentLayout;
import com.hippo.widget.FabLayout;
@@ -259,7 +260,7 @@ public class FavoritesScene extends BaseScene implements
contentLayout.getFastScroller().setOnDragHandlerListener(this);
mAdapter = new FavoritesAdapter(inflater, resources, mRecyclerView, Settings.getListMode());
mRecyclerView.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme)));
mRecyclerView.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme), new ColorDrawable(Color.TRANSPARENT)));
mRecyclerView.setDrawSelectorOnTop(true);
mRecyclerView.hasFixedSize();
mRecyclerView.setClipToPadding(false);
@@ -618,7 +619,7 @@ public class FavoritesScene extends BaseScene implements
args.putParcelable(GalleryDetailScene.KEY_GALLERY_INFO, gi);
Announcer announcer = new Announcer(GalleryDetailScene.class).setArgs(args);
View thumb;
if (ApiHelper.SUPPORT_TRANSITION && null != (thumb = view.findViewById(R.id.thumb))) {
if (null != (thumb = view.findViewById(R.id.thumb))) {
announcer.setTranHelper(new EnterGalleryDetailTransaction(thumb));
}
startScene(announcer);
@@ -1012,7 +1013,7 @@ public class FavoritesScene extends BaseScene implements
public FavoritesAdapter(@NonNull LayoutInflater inflater, @NonNull Resources resources,
@NonNull RecyclerView recyclerView, int type) {
super(inflater, resources, recyclerView, type);
super(inflater, resources, recyclerView, type, false);
}
@Override
@@ -18,15 +18,15 @@ package com.hippo.ehviewer.ui.scene;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.annotation.IntDef;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.core.view.ViewCompat;
import androidx.recyclerview.widget.RecyclerView;
import androidx.recyclerview.widget.StaggeredGridLayoutManager;
import com.hippo.drawable.TriangleDrawable;
@@ -62,14 +62,16 @@ abstract class GalleryAdapter extends RecyclerView.Adapter<GalleryHolder> {
private final int mListThumbWidth;
private final int mListThumbHeight;
private int mType = TYPE_INVALID;
private boolean mShowFavourited;
public GalleryAdapter(@NonNull LayoutInflater inflater, @NonNull Resources resources,
@NonNull RecyclerView recyclerView, int type) {
@NonNull RecyclerView recyclerView, int type, boolean showFavourited) {
mInflater = inflater;
mResources = resources;
mRecyclerView = recyclerView;
mLayoutManager = new AutoStaggeredGridLayoutManager(0, StaggeredGridLayoutManager.VERTICAL);
mPaddingTopSB = resources.getDimensionPixelOffset(R.dimen.gallery_padding_top_search_bar);
mShowFavourited = showFavourited;
mRecyclerView.setAdapter(this);
mRecyclerView.setLayoutManager(mLayoutManager);
@@ -191,23 +193,27 @@ abstract class GalleryAdapter extends RecyclerView.Adapter<GalleryHolder> {
holder.rating.setRating(gi.rating);
TextView category = holder.category;
String newCategoryText = EhUtils.getCategory(gi.category);
if (!newCategoryText.equals(category.getText())) {
if (!newCategoryText.equals(category.getText().toString())) {
category.setText(newCategoryText);
category.setBackgroundColor(EhUtils.getCategoryColor(gi.category));
}
holder.posted.setText(gi.posted);
if (gi.pages == 0 || !Settings.getShowGalleryPages()) {
holder.pages.setText(null);
RelativeLayout.LayoutParams lp = (RelativeLayout.LayoutParams) holder.simpleLanguage.getLayoutParams();
lp.addRule(RelativeLayout.LEFT_OF, 0);
lp.addRule(RelativeLayout.ALIGN_PARENT_RIGHT);
holder.pages.setVisibility(View.GONE);
} else {
holder.pages.setText(Integer.toString(gi.pages) + "P");
RelativeLayout.LayoutParams lp = (RelativeLayout.LayoutParams) holder.simpleLanguage.getLayoutParams();
lp.addRule(RelativeLayout.LEFT_OF, R.id.pages);
lp.addRule(RelativeLayout.ALIGN_PARENT_RIGHT, 0);
holder.pages.setVisibility(View.VISIBLE);
}
holder.simpleLanguage.setText(gi.simpleLanguage);
if (TextUtils.isEmpty(gi.simpleLanguage)) {
holder.simpleLanguage.setText(null);
holder.simpleLanguage.setVisibility(View.GONE);
} else {
holder.simpleLanguage.setText(gi.simpleLanguage);
holder.simpleLanguage.setVisibility(View.VISIBLE);
}
holder.favourited.setVisibility((mShowFavourited && gi.favoriteSlot >= -1 && gi.favoriteSlot <= 10) ? View.VISIBLE : View.GONE);
holder.downloaded.setVisibility(gi.downloaded ? View.VISIBLE : View.GONE);
break;
}
case TYPE_GRID: {
@@ -228,9 +234,6 @@ abstract class GalleryAdapter extends RecyclerView.Adapter<GalleryHolder> {
}
// Update transition name
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
long gid = gi.gid;
holder.thumb.setTransitionName(TransitionNameFactory.getThumbTransitionName(gid));
}
ViewCompat.setTransitionName(holder.thumb, TransitionNameFactory.getThumbTransitionName(gi.gid));
}
}
@@ -24,7 +24,9 @@ import android.content.ClipboardManager;
import android.content.Context;
import android.content.DialogInterface;
import android.content.res.Resources;
import android.graphics.Color;
import android.graphics.Typeface;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Looper;
@@ -209,7 +211,7 @@ public final class GalleryCommentsScene extends ToolbarScene
LayoutUtils.dp2pix(context, 1));
decoration.setShowLastDivider(true);
mRecyclerView.addItemDecoration(decoration);
mRecyclerView.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme)));
mRecyclerView.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme), new ColorDrawable(Color.TRANSPARENT)));
mRecyclerView.setHasFixedSize(true);
mRecyclerView.setOnItemClickListener(this);
mRecyclerView.setPadding(mRecyclerView.getPaddingLeft(), mRecyclerView.getPaddingTop(),
@@ -344,7 +346,7 @@ public final class GalleryCommentsScene extends ToolbarScene
LayoutUtils.dp2pix(context, 1));
decoration.setPadding(ResourcesUtils.getAttrDimensionPixelOffset(context, R.attr.dialogPreferredPadding));
rv.addItemDecoration(decoration);
rv.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme)));
rv.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme), new ColorDrawable(Color.TRANSPARENT)));
rv.setClipToPadding(false);
builder.setView(rv).show();
}
@@ -26,12 +26,10 @@ import android.content.Intent;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Environment;
import android.os.Parcelable;
import android.text.TextUtils;
import android.transition.TransitionInflater;
import android.util.Pair;
import android.view.Gravity;
import android.view.LayoutInflater;
@@ -55,6 +53,7 @@ import androidx.appcompat.widget.PopupMenu;
import androidx.core.view.ViewCompat;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentTransaction;
import androidx.transition.TransitionInflater;
import com.hippo.android.resource.AttrResources;
import com.hippo.beerbelly.BeerBelly;
import com.hippo.drawable.RoundSideRectDrawable;
@@ -95,7 +94,6 @@ import com.hippo.scene.SceneFragment;
import com.hippo.scene.TransitionHelper;
import com.hippo.text.Html;
import com.hippo.text.URLImageGetter;
import com.hippo.util.ApiHelper;
import com.hippo.util.AppHelper;
import com.hippo.util.DrawableManager;
import com.hippo.util.ExceptionUtils;
@@ -722,8 +720,19 @@ public class GalleryDetailScene extends BaseScene implements View.OnClickListene
int w = mColorBg.getWidth();
int h = mColorBg.getHeight();
if (ViewCompat.isAttachedToWindow(mColorBg) && w != 0 && h != 0) {
ViewAnimationUtils.createCircularReveal(mColorBg, w / 2, h / 2, 0,
(float) Math.hypot(w / 2, h / 2)).setDuration(300).start();
Resources resources = getContext2().getResources();
int keylineMargin = resources.getDimensionPixelSize(R.dimen.keyline_margin);
int thumbWidth = resources.getDimensionPixelSize(R.dimen.gallery_detail_thumb_width);
int thumbHeight = resources.getDimensionPixelSize(R.dimen.gallery_detail_thumb_height);
int x = thumbWidth / 2 + keylineMargin;
int y = thumbHeight / 2 + keylineMargin;
int radiusX = Math.max(Math.abs(x), Math.abs(w - x));
int radiusY = Math.max(Math.abs(y), Math.abs(h - y));
float radius = (float) Math.hypot(radiusX, radiusY);
ViewAnimationUtils.createCircularReveal(mColorBg, x, y, 0, radius).setDuration(300).start();
return true;
} else {
return false;
@@ -769,12 +778,7 @@ public class GalleryDetailScene extends BaseScene implements View.OnClickListene
if ((oldState == STATE_INIT || oldState == STATE_FAILED || oldState == STATE_REFRESH) &&
(state == STATE_NORMAL || state == STATE_REFRESH_HEADER) && AttrResources.getAttrBoolean(getContext2(), R.attr.isLightTheme)) {
if (!createCircularReveal()) {
SimpleHandler.getInstance().post(new Runnable() {
@Override
public void run() {
createCircularReveal();
}
});
SimpleHandler.getInstance().post(this::createCircularReveal);
}
}
}
@@ -1033,13 +1037,12 @@ public class GalleryDetailScene extends BaseScene implements View.OnClickListene
private void setTransitionName() {
long gid = getGid();
if (gid != -1 && ApiHelper.SUPPORT_TRANSITION && mThumb != null &&
mTitle != null && mUploader != null && mCategory != null &&
Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
mThumb.setTransitionName(TransitionNameFactory.getThumbTransitionName(gid));
mTitle.setTransitionName(TransitionNameFactory.getTitleTransitionName(gid));
mUploader.setTransitionName(TransitionNameFactory.getUploaderTransitionName(gid));
mCategory.setTransitionName(TransitionNameFactory.getCategoryTransitionName(gid));
if (gid != -1 && mThumb != null &&
mTitle != null && mUploader != null && mCategory != null) {
ViewCompat.setTransitionName(mThumb, TransitionNameFactory.getThumbTransitionName(gid));
ViewCompat.setTransitionName(mTitle, TransitionNameFactory.getTitleTransitionName(gid));
ViewCompat.setTransitionName(mUploader, TransitionNameFactory.getUploaderTransitionName(gid));
ViewCompat.setTransitionName(mCategory, TransitionNameFactory.getCategoryTransitionName(gid));
}
}
@@ -1419,7 +1422,7 @@ public class GalleryDetailScene extends BaseScene implements View.OnClickListene
@Override
public void onBackPressed() {
if (ApiHelper.SUPPORT_TRANSITION && mViewTransition != null && mThumb != null &&
if (mViewTransition != null && mThumb != null &&
mViewTransition.getShownViewIndex() == 0 && mThumb.isShown()) {
int[] location = new int[2];
mThumb.getLocationInWindow(location);
@@ -1550,16 +1553,17 @@ public class GalleryDetailScene extends BaseScene implements View.OnClickListene
return false;
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
String transitionName = ViewCompat.getTransitionName(mThumb);
if (transitionName != null) {
exit.setSharedElementReturnTransition(
TransitionInflater.from(context).inflateTransition(R.transition.trans_move));
exit.setExitTransition(
TransitionInflater.from(context).inflateTransition(android.R.transition.fade));
TransitionInflater.from(context).inflateTransition(R.transition.trans_fade));
enter.setSharedElementEnterTransition(
TransitionInflater.from(context).inflateTransition(R.transition.trans_move));
enter.setEnterTransition(
TransitionInflater.from(context).inflateTransition(android.R.transition.fade));
transaction.addSharedElement(mThumb, mThumb.getTransitionName());
TransitionInflater.from(context).inflateTransition(R.transition.trans_fade));
transaction.addSharedElement(mThumb, transitionName);
}
return true;
}
@@ -17,6 +17,7 @@
package com.hippo.ehviewer.ui.scene;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.recyclerview.widget.RecyclerView;
import com.hippo.ehviewer.R;
@@ -33,17 +34,21 @@ class GalleryHolder extends RecyclerView.ViewHolder {
public final TextView posted;
public final TextView pages;
public final TextView simpleLanguage;
public final ImageView favourited;
public final ImageView downloaded;
public GalleryHolder(View itemView) {
super(itemView);
thumb = (LoadImageView) itemView.findViewById(R.id.thumb);
title = (TextView) itemView.findViewById(R.id.title);
uploader = (TextView) itemView.findViewById(R.id.uploader);
rating = (SimpleRatingView) itemView.findViewById(R.id.rating);
category = (TextView) itemView.findViewById(R.id.category);
posted = (TextView) itemView.findViewById(R.id.posted);
pages = (TextView) itemView.findViewById(R.id.pages);
simpleLanguage = (TextView) itemView.findViewById(R.id.simple_language);
thumb = itemView.findViewById(R.id.thumb);
title = itemView.findViewById(R.id.title);
uploader = itemView.findViewById(R.id.uploader);
rating = itemView.findViewById(R.id.rating);
category = itemView.findViewById(R.id.category);
posted = itemView.findViewById(R.id.posted);
pages = itemView.findViewById(R.id.pages);
simpleLanguage = itemView.findViewById(R.id.simple_language);
favourited = itemView.findViewById(R.id.favourited);
downloaded = itemView.findViewById(R.id.downloaded);
}
}
@@ -20,6 +20,8 @@ import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
@@ -169,7 +171,7 @@ public final class GalleryInfoScene extends ToolbarScene implements EasyRecycler
LayoutUtils.dp2pix(context, 1));
decoration.setPadding(context.getResources().getDimensionPixelOffset(R.dimen.keyline_margin));
mRecyclerView.addItemDecoration(decoration);
mRecyclerView.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme)));
mRecyclerView.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme), new ColorDrawable(Color.TRANSPARENT)));
mRecyclerView.setClipToPadding(false);
mRecyclerView.setHasFixedSize(true);
mRecyclerView.setOnItemClickListener(this);
@@ -22,7 +22,9 @@ import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Color;
import android.graphics.Point;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.text.InputType;
@@ -83,7 +85,6 @@ import com.hippo.refreshlayout.RefreshLayout;
import com.hippo.ripple.Ripple;
import com.hippo.scene.Announcer;
import com.hippo.scene.SceneFragment;
import com.hippo.util.ApiHelper;
import com.hippo.util.AppHelper;
import com.hippo.util.DrawableManager;
import com.hippo.view.ViewTransition;
@@ -502,7 +503,7 @@ public final class GalleryListScene extends BaseScene
mAdapter = new GalleryListAdapter(inflater, resources,
mRecyclerView, Settings.getListMode());
mRecyclerView.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme)));
mRecyclerView.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme), new ColorDrawable(Color.TRANSPARENT)));
mRecyclerView.setDrawSelectorOnTop(true);
mRecyclerView.hasFixedSize();
mRecyclerView.setClipToPadding(false);
@@ -843,7 +844,7 @@ public final class GalleryListScene extends BaseScene
args.putParcelable(GalleryDetailScene.KEY_GALLERY_INFO, gi);
Announcer announcer = new Announcer(GalleryDetailScene.class).setArgs(args);
View thumb;
if (ApiHelper.SUPPORT_TRANSITION && null != (thumb = view.findViewById(R.id.thumb))) {
if (null != (thumb = view.findViewById(R.id.thumb))) {
announcer.setTranHelper(new EnterGalleryDetailTransaction(thumb));
}
startScene(announcer);
@@ -1338,7 +1339,7 @@ public final class GalleryListScene extends BaseScene
public GalleryListAdapter(@NonNull LayoutInflater inflater,
@NonNull Resources resources, @NonNull RecyclerView recyclerView, int type) {
super(inflater, resources, recyclerView, type);
super(inflater, resources, recyclerView, type, true);
}
@Override
@@ -1363,15 +1364,7 @@ public final class GalleryListScene extends BaseScene
}
mUrlBuilder.setPageIndex(page);
if (ListUrlBuilder.MODE_WHATS_HOT == mUrlBuilder.getMode()) {
EhRequest request = new EhRequest();
request.setMethod(EhClient.METHOD_GET_WHATS_HOT);
request.setCallback(new GetWhatsHotListener(getContext(),
activity.getStageId(), getTag(), taskId));
request.setArgs();
mClient.execute(request);
Analytics.viewWhatsHot();
} else if (ListUrlBuilder.MODE_IMAGE_SEARCH == mUrlBuilder.getMode()) {
if (ListUrlBuilder.MODE_IMAGE_SEARCH == mUrlBuilder.getMode()) {
EhRequest request = new EhRequest();
request.setMethod(EhClient.METHOD_IMAGE_SEARCH);
request.setCallback(new GetGalleryListListener(getContext(),
@@ -1389,7 +1382,12 @@ public final class GalleryListScene extends BaseScene
activity.getStageId(), getTag(), taskId));
request.setArgs(url);
mClient.execute(request);
Analytics.viewGalleryList();
if (ListUrlBuilder.MODE_WHATS_HOT == mUrlBuilder.getMode()) {
Analytics.viewWhatsHot();
} else {
Analytics.viewGalleryList();
}
}
}
@@ -1453,55 +1451,6 @@ public final class GalleryListScene extends BaseScene
}
}
private void onGetWhatsHotSuccess(List<GalleryInfo> result, int taskId) {
if (mHelper != null && mSearchBarMover != null &&
mHelper.isCurrentTask(taskId)) {
mHelper.setPages(taskId, 1);
mHelper.onGetPageData(taskId, result);
}
}
private void onGetWhatsHotFailure(Exception e, int taskId) {
if (mHelper != null && mSearchBarMover != null &&
mHelper.isCurrentTask(taskId)) {
mHelper.onGetException(taskId, e);
}
}
private static class GetWhatsHotListener extends EhCallback<GalleryListScene, List<GalleryInfo>> {
private final int mTaskId;
public GetWhatsHotListener(Context context, int stageId, String sceneTag, int taskId) {
super(context, stageId, sceneTag);
mTaskId = taskId;
}
@Override
public void onSuccess(List<GalleryInfo> result) {
GalleryListScene scene = getScene();
if (scene != null) {
scene.onGetWhatsHotSuccess(result, mTaskId);
}
}
@Override
public void onFailure(Exception e) {
GalleryListScene scene = getScene();
if (scene != null) {
scene.onGetWhatsHotFailure(e, mTaskId);
}
}
@Override
public void onCancel() {}
@Override
public boolean isInstance(SceneFragment scene) {
return scene instanceof GalleryListScene;
}
}
private static class GetGalleryListListener extends EhCallback<GalleryListScene, GalleryListParser.Result> {
private final int mTaskId;
@@ -19,6 +19,8 @@ package com.hippo.ehviewer.ui.scene;
import android.content.Context;
import android.content.DialogInterface;
import android.content.res.Resources;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.os.Bundle;
@@ -29,6 +31,7 @@ import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AlertDialog;
import androidx.core.view.ViewCompat;
import androidx.recyclerview.widget.RecyclerView;
import androidx.recyclerview.widget.StaggeredGridLayoutManager;
import com.h6ah4i.android.widget.advrecyclerview.animator.GeneralItemAnimator;
@@ -60,7 +63,6 @@ import com.hippo.ehviewer.widget.SimpleRatingView;
import com.hippo.ripple.Ripple;
import com.hippo.scene.Announcer;
import com.hippo.scene.SceneFragment;
import com.hippo.util.ApiHelper;
import com.hippo.util.DrawableManager;
import com.hippo.view.ViewTransition;
import com.hippo.widget.LoadImageView;
@@ -125,7 +127,7 @@ public class HistoryScene extends ToolbarScene
layoutManager.setColumnSize(resources.getDimensionPixelOffset(Settings.getDetailSizeResId()));
layoutManager.setStrategy(AutoStaggeredGridLayoutManager.STRATEGY_MIN_SIZE);
mRecyclerView.setLayoutManager(layoutManager);
mRecyclerView.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme)));
mRecyclerView.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme), new ColorDrawable(Color.TRANSPARENT)));
mRecyclerView.setDrawSelectorOnTop(true);
mRecyclerView.hasFixedSize();
mRecyclerView.setClipToPadding(false);
@@ -258,7 +260,7 @@ public class HistoryScene extends ToolbarScene
args.putParcelable(GalleryDetailScene.KEY_GALLERY_INFO, mLazyList.get(position));
Announcer announcer = new Announcer(GalleryDetailScene.class).setArgs(args);
View thumb;
if (ApiHelper.SUPPORT_TRANSITION && null != (thumb = view.findViewById(R.id.thumb))) {
if (null != (thumb = view.findViewById(R.id.thumb))) {
announcer.setTranHelper(new EnterGalleryDetailTransaction(thumb));
}
startScene(announcer);
@@ -384,7 +386,7 @@ public class HistoryScene extends ToolbarScene
// Update transition name
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
long gid = gi.gid;
holder.thumb.setTransitionName(TransitionNameFactory.getThumbTransitionName(gid));
ViewCompat.setTransitionName(holder.thumb, TransitionNameFactory.getThumbTransitionName(gid));
}
}
@@ -1,24 +0,0 @@
/*
* Copyright 2016 Hippo Seven
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hippo.util;
import android.os.Build;
public final class ApiHelper {
public static final boolean SUPPORT_TRANSITION = Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP;
}
@@ -17,6 +17,8 @@
package com.hippo.widget;
import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Environment;
import android.util.AttributeSet;
import android.view.LayoutInflater;
@@ -76,7 +78,7 @@ public class DirExplorer extends EasyRecyclerView implements EasyRecyclerView.On
LayoutUtils.dp2pix(context, 1));
decoration.setShowLastDivider(true);
addItemDecoration(decoration);
setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme)));
setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme), new ColorDrawable(Color.TRANSPARENT)));
setOnItemClickListener(this);
mCurrentFile = Environment.getExternalStorageDirectory();
+28
View File
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2019 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<size
android:width="6dp"
android:height="6dp"/>
<solid android:color="@android:color/transparent"/>
</shape>
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2019 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:height="16dp"
android:width="16dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="?android:attr/textColorSecondary"
android:pathData="@string/pd_download"/>
</vector>
+29
View File
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2019 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:height="16dp"
android:width="16dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="?android:attr/textColorSecondary"
android:pathData="@string/pd_heart"/>
</vector>
+37 -16
View File
@@ -87,23 +87,44 @@
android:layout_marginRight="6dp"
android:layout_marginBottom="4dp"/>
<TextView
android:id="@+id/pages"
style="@style/CardMessage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@id/posted"
android:layout_alignParentRight="true"
android:layout_marginRight="6dp"/>
<LinearLayout
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@id/posted"
android:layout_alignParentRight="true"
android:layout_marginRight="6dp"
android:orientation="horizontal"
android:divider="@drawable/spacer_x6"
android:showDividers="middle"
android:gravity="center_vertical">
<TextView
android:id="@+id/simple_language"
style="@style/CardMessage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@id/posted"
android:layout_toLeftOf="@+id/pages"
android:layout_marginRight="6dp"/>
<ImageView
android:id="@+id/downloaded"
android:layout_width="16dp"
android:layout_height="16dp"
android:visibility="gone"
app:srcCompat="@drawable/v_download_x16"/>
<ImageView
android:id="@+id/favourited"
android:layout_width="16dp"
android:layout_height="16dp"
android:visibility="gone"
app:srcCompat="@drawable/v_heart_x16"/>
<TextView
android:id="@+id/simple_language"
style="@style/CardMessage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/pages"
style="@style/CardMessage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
</RelativeLayout>
</androidx.cardview.widget.CardView>
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2019 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<fade/>
+686
View File
@@ -0,0 +1,686 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2019 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<resources>
<string name="app_name">EhViewer</string>
<!-- Theme -->
<string name="theme_light">ธีมสีสว่าง</string>
<string name="theme_dark">ธีมสีมืด</string>
<string name="theme_black">ธีมสีดำ</string>
<string name="homepage">หน้าหลัก</string>
<string name="whats_hot">เรื่องที่กำลังมาแรงมากๆ</string>
<string name="favourite">รายการโปรด</string>
<string name="history">ประวัติเข้าชม</string>
<string name="downloads">ดาวน์โหลด</string>
<string name="settings">การตั้งค่า</string>
<string name="username">ชื่อผู้ใช้</string>
<string name="password">รหัสผ่าน</string>
<string name="recaptcha">Recaptcha (ไม่จำเป็น)</string>
<string name="recaptcha_none">แตะตรงนี้</string>
<string name="recaptcha_loading">กำลังโหลด…</string>
<string name="recaptcha_failure">ล้มเหลว</string>
<string name="sign_in">ลงชื่อเข้าใช้</string>
<string name="register">ลงทะเบียน</string>
<string name="sign_in_via_webview">ลงชื่อเข้าใช้ผ่านมุมมองเว็บไซต์</string>
<string name="sign_in_via_cookies">ลงชื่อเข้าใช้ผ่านคุกกี้</string>
<string name="display_name_dialog_title">กรอกชื่อเล่นที่จะแสดง</string>
<string name="display_name">ชื่อเล่นที่จะแสดง</string>
<string name="display_name_is_empty">ชื่อที่จะแสดงนั้นห้ามเว้นว่างไว้</string>
<string name="sign_in_first">โปรดลงชื่อเข้าใช้ก่อนเป็นอันดับแรก</string>
<string name="default_display_name">เจ้าฮิปโปโปเตมัสตัวน้อย</string>
<string name="cookie_explain">คุกกี้คือชิ้นส่วนข้อมูลเล็กๆที่ถูกจัดเก็บอยู่ในเว็บเบราเซอร์ ถ้าไม่รู้มันคืออะไรก็เปิด Google หาสิ \n\nกรุณากรอกข้อมูลคุกกี้เพื่อลงชื่อเข้าใช้ระบบ</string>
<string name="text_is_empty">ข้อความห้ามเว้นว่างไว้</string>
<string name="waring">คำเตือน</string>
<string name="wrong_cookie_warning">ดูเหมือนว่าคุกกี้ที่คุณกรอกมานั้นมันผิด คุณลองตรวจสอบใหม่ดูอีกรอบ</string>
<string name="i_will_check_it">ฉันจะตรวจสอบเอง</string>
<string name="i_dont_think_so">ฉันว่าไม่ดีกว่า</string>
<string name="found_cookies">พบคุกกี้แล้ว!</string>
<string name="invalid_download_location">ดูเหมือนที่อยู่ในการดาวน์โหลดนั้นไม่พร้อมใช้งาน โปรดตั้งค่าในเมนูการตั้งค่า</string>
<string name="cellular_network_warning">มีการเชื่อมต่อเครือข่ายมือถืออยู่</string>
<string name="clipboard_gallery_url_snack_message">มีลิงค์ของเว็บแกลเลอรี่อยู่ในคลิปบอร์ด</string>
<string name="clipboard_gallery_url_snack_action">ดู</string>
<string name="error_bad_status_code">รหัสข้อผิดพลาด: %d</string>
<string name="error_timeout">หมดเวลา</string>
<string name="error_unknown_host">ไม่รู้จักโฮสต์</string>
<string name="error_redirection">มีการเปลี่ยนทางเยอะเกินไป</string>
<string name="error_socket">เน็ตเวิร์คเกิดข้อผิดพลาด</string>
<string name="error_unknown">มันแปลกๆนะ</string>
<string name="error_cant_find_activity">หาแอปพลิเคชั่นไม่เจอ</string>
<string name="error_cannot_parse_the_url">ไม่สามารถวิเคราะห์ URL </string>
<string name="error_not_folder_path">ไม่พบโฟลเดอร์ปลายทาง</string>
<string name="error_no_provider">ไม่มีผู้ให้บริการ</string>
<string name="error_decoding_failed">การถอดรหัสล้มเหลว</string>
<string name="error_not_found">ไม่พบ</string>
<string name="error_empty">ว่างเปล่า</string>
<string name="error_invalid_archive">การจัดเก็บไม่ถูกต้อง</string>
<string name="error_reading_failed">การอ่านล้มเหลว</string>
<string name="error_out_of_range">ไม่อยู่ในขอบเขต</string>
<string name="error_write_failed">การเขียนล้มเหลว</string>
<string name="error_parse_error">การวิเคราะห์ผิดพลาด</string>
<string name="error_509">509</string>
<string name="error_invalid_url">URL ไม่ถูกต้อง</string>
<string name="error_get_ptoken_error">การรับ pToken มีปัญหา</string>
<string name="error_cant_create_temp_file">ไม่สามารถสร้างไฟล์ชั่วคราวได้</string>
<string name="error_cant_save_image">ไม่สามารถบันทึกรูปภาพได้</string>
<string name="error_invalid_number">จำนวนไม่ถูกต้อง</string>
<string name="app_waring">เนื้อหาภายในแอปพลิเคชั่นนี้มาจากอินเทอร์เน็ตทั้งหมด อาจมีเนื้อหาบางอย่างที่มีผลต่อร่างกายหรือจิตใจของคุณ คุณจะต้องยอมรับความเสี่ยงที่ดังกล่าว และดำเนินการต่อไป</string>
<string name="error_username_cannot_empty">ชื่อผู้ใช้ห้ามเว้นว่างไว้</string>
<string name="error_password_cannot_empty">รหัสผ่านห้ามเว้นว่างไว้</string>
<string name="skip_signing_in">ดำเนินการต่อโดยไม่ต้องลงชื่อเข้าระบบ</string>
<string name="sign_in_failed">การลงชื่อเข้าใช้ล้มเหลว</string>
<string name="sign_in_failed_plain">บางทีนี้เป็นข้อผิดพลาดเนื่องจากเว็บไซต์มีการอัพเดตหรือมีบางอย่างเกิดขึ้น คุณจะต้องลองวิธีลงชื่อเข้าใช้ผ่านมุมมองเว็บไซต์ หรือวิธีแบบคุกกี๊ หรือกดปุ่มข้ามไปก่อน แต่คุณอาจจะเจอ "แพนด้าผู้เดียวดาย" ได้หลังจากข้ามการลงชื่อเข้าใช้ อันดับแรกลอง "ลงชื่อเข้าใช้ผ่านคุกกี้" ถ้าคุณเคยเข้าสู่ระบบแล้วในเวอร์ชั่น 0.6.x</string>
<string name="press_twice_exit">กดสองครั้งเพื่อออก</string>
<string name="content_layout_restore_tip">แตะเพื่อลองอีกครั้ง</string>
<string name="write_rationale">EhViewer จะขอสิทธิ์การเขียนข้อมูลพื้นที่จัดเก็บภายนอก (WRITE_EXTERNAL_STORAGE) เพื่อการดาวน์โหลดแกลเลอรี่ คุณจะอนุญาตหรือไม่?</string>
<string name="you_rejected_me">เอื้อออออ เจ็บจัง</string>
<string name="analytics_explain">จะว่าอะไรไหมถ้านักพัฒนาจะขออนุญาตรวบรวมข้อมูลอุปกรณ์และประวัติการใช้งานแอปนี้ของคุณ? มันจะช่วยนักพัฒนาอย่างมากเลยนะ&lt;br&gt;&lt;br&gt;บริการวิเคราะห์ข้อมูลที่เราใช้นั้นเป็นบริการของ Google Analytics สำหรับ Firebase ในส่วนของนโยบายความเป็นส่วนตัวเราใช้ตามที่อยู่ในลิงค์ &lt;a href=&quot;https://www.google.com/policies/privacy/&quot;&gt;https://www.google.com/policies/privacy/&lt;/a&gt;&lt;br&gt;&lt;br&gt;ถ้าคุณยินยอมการส่งข้อมูลวิเคราะห์นี้ ทั้งข้อมูลอุปกรณ์และประวัติการใช้งานแอปนี้ของคุณจะถูกจัดเก็บ รวมไปถึงแต่ไม่จำกัดเพียงแค่เวอร์ชั่น API ของ Android, แบบจำลองอุปกรณ์, ภาษาของผู้ใช้, เวอร์ชั่นของแอปพลิเคชั่น, เวลาในการใช้งาน, และจำนวนฟังก์ชั่นที่ใช้ นักพัฒนาขอให้คำมั่นสัญญาว่าเราจะไม่เก็บข้อมูลส่วนตัวของผู้ใช้ไม่ว่าจะเบอร์มือถือ, อีเมล, และหมายเลข IMEI&lt;br&gt;&lt;br&gt;ข้อมูลของคุณจะไม่ถูกจัดเก็บจนกว่าจะกดปุ่ม \'ยินยอม\' ให้จัดเก็บเพื่อนำมาวิเคราะห์ข้อมูล&lt;br&gt;&lt;br&gt;การจัดเก็บข้อมูลจะถูกวิเคราะห์โดยบริการ Google Analytics สำหรับ Firebase รายงานการวิเคราะห์ข้อมูลจะสามารถดูได้เพียงนักพัฒนาของแอปนี้เพียงคนเดียวเท่านั้น</string>
<string name="get_it">เข้าใจแล้ว ไม่ต้องแสดงอีก</string>
<string name="accept">ยินยอม</string>
<string name="reject">ไม่ยินยอม</string>
<string name="help_route">การตั้งค่า->เกี่ยวกับ->ช่วยเหลือ</string>
<!-- Select scene -->
<string name="select_scene">เว็บแกลเลอรี่ไหนที่คุณอยากเข้าชม?</string>
<string name="select_scene_explain">e-hentai: เขตแดนที่ทุกๆคนสามารถเข้าถึงได้\nexhentai: เขตแดนอันแสนศักศิทธิ์สำหรับคนที่ลงชื่อเข้าใช้ระบบแล้วเท่านั้นที่จะเข้าไปได้</string>
<string name="no_select">โปรดเลือกหนึ่งเว็บไซต์</string>
<!-- Update -->
<string name="update">อัพเดต</string>
<string name="update_plain">เวอร์ชั่น: %1$s\nขนาดไฟล์: %2$s\n\n%3$s</string>
<string name="update_to_date">คุณกำลังใช้เวอร์ชั่นล่าสุดของ EhViewer.</string>
<string name="update_ignore">ข้ามไป</string>
<!-- Gallery List -->
<string name="gallery_list_search_bar_hint_exhentai">ค้นหาใน ExHentai</string>
<string name="gallery_list_search_bar_hint_e_hentai">ค้นหาใน E-Hentai</string>
<string name="gallery_list_search_bar_open_gallery">เปิดแกลเลอรี่</string>
<string name="gallery_list_empty_hit">โลกนั้นนะมันกว้างงงงงใหญ่ไพรศาล และแพนด้านั่งโดดเดี่ยวเดียวดายในโลกกลมๆ</string>
<string name="search">ค้นหา</string>
<string name="keyword_search">คีย์เวิร์ดในการค้นหา</string>
<string name="image_search">ค้นหาด้วยรูป</string>
<string name="search_normal">ค้นหาแบบธรรมดา</string>
<string name="search_advance">ตัวเลือกขั้นสูง</string>
<string name="search_image">ค้นหาด้วยรูปภาพ</string>
<string name="search_normal_search">ค้นหาแบบธรรมดา</string>
<string name="search_specify_uploader">ระบุผู้อัพโหลด</string>
<string name="search_specify_tag">ระบุป้ายกำกับ</string>
<string name="search_enable_advance">เปิดโหมดค้นหาขั้นสูง</string>
<string name="search_tip">ค้นหาแบบธรรมดา: ค้นหาแบบง๊ายง่าย\n\nระบุผู้อัพโหลด: ค้นหาแกลเลอรี่ที่อัพโหลดโดยระบุชื่อผู้ใช้ของคนอัพโหลด โดยตัวเลือกอื่นๆจะถูกข้ามไป\n\nระบุป้ายกำกับ: ค้นหาแกลเลอรี่ที่ถูกใส่ป้ายกำกับหรือแท็กไว้ในแต่ละแกลเลอรี่ ระบุได้เพียงหนึ่งป้ายกำกับ ตัวเลือกอื่นๆจะถูกข้ามไป</string>
<string name="search_sname">ค้นหาแกลเลอรี่</string>
<string name="search_stags">ค้นหาแท็กของแกลเลอรี่</string>
<string name="search_sdesc">ค้นหาคำอธิบายของแกลเลอรี่</string>
<string name="search_storr">ค้นหาชื่อไฟล์ Torrent</string>
<string name="search_sto">แสดงผลเฉพาะแกลเลอรี่ที่มีไฟล์ Torrents</string>
<string name="search_sdt1">ค้นหาแท็กที่ไม่โด่งดัง</string>
<string name="search_sdt2">ค้นหาแท็กที่ถูกโหวตไม่เห็นด้วย</string>
<string name="search_sh">แสดงแกลเลอรี่ที่ถูกลบออก</string>
<string name="search_sr">เรตติ้งขั้นต่ำ:</string>
<string name="select_image">เลือกรูปภาพ</string>
<string name="search_uss">ใช้สแกนหาความเหมือน</string>
<string name="search_osc">ค้นหาเฉพาะหน้าปก</string>
<string name="search_se">แสดงเรื่องที่โดนลบ</string>
<string name="select_image_first">โปรดเลือกรูปภาพก่อน</string>
<string name="add_to_favourites">เพิ่มเข้าในรายการโปรด</string>
<string name="quick_search">ค้นหาอย่างด่วน</string>
<string name="quick_search_tip">แตะ \"+\" เพื่อเพิ่มการค้นหาอย่างด่วน</string>
<string name="add_quick_search_dialog_title">เพิ่มค้นหาอย่างด่วน</string>
<string name="name_is_empty">ชื่อห้ามเว้นว่างไว้</string>
<string name="delete">ลบ</string>
<string name="delete_quick_search_title">ลบตัวค้นหาอย่างด่วน</string>
<string name="delete_quick_search_message">ลบ \"%s\" หรือไม่?</string>
<string name="no_quick_search">การค้นหาอย่างด่วนจะแสดงอยู่ตรงนี้</string>
<string name="add_quick_search_tip">รายการของแกลเลอรี่ต่างๆจะถูกบันทึกเป็นการค้นหาอย่างด่วน ต้องทำการค้นหาก่อนเพื่อบันทึกลงในรายการของแผงการค้นหา</string>
<string name="readme">อ่านก่อนสักนิด</string>
<string name="image_search_not_quick_search">ไม่สามารถเพิ่มรูปในการค้นหาให้เป็นการค้นหาอย่างด่วนได้</string>
<string name="duplicate_quick_search">มีตัวค้นหาอย่างด่วนอยู่แล้วในชื่อ \"%s\".</string>
<string name="duplicate_name">ชื่อนี้มีการใช้งานอยู่แล้ว</string>
<string name="go_to_hint">หน้า %1$d, มีทั้งหมด %2$d หน้า</string>
<!-- search_min_rating -->
<string name="star_2">2 ดาว</string>
<string name="star_3">3 ดาว</string>
<string name="star_4">4 ดาว</string>
<string name="star_5">5 ดาว</string>
<!-- Gallery detail -->
<string name="error_cannot_find_gallery">ไม่สามารถค้นหาแกลเลอรี่ได้</string>
<string name="download">ดาวน์โหลด</string>
<string name="read">อ่าน</string>
<string name="more_information">ข้อมูลเพิ่มเติม</string>
<plurals name="page_count">
<item quantity="other">%d หน้า</item>
</plurals>
<string name="favored_times">\u2665 %d</string>
<string name="rating_text">%1$s (%2$.2f, %3$d)</string>
<string name="favorites">รายการโปรด</string>
<string name="torrent_count">Torrent (%d)</string>
<string name="share">แชร์</string>
<string name="rate">คะแนน</string>
<string name="similar_gallery">เหมือน</string>
<string name="search_cover">ค้นหาปก</string>
<string name="no_tags">ไม่มีแท็ก</string>
<string name="no_comments">ไม่มีความคิดเห็น</string>
<string name="no_more_comments">ไม่มีความเห็นเพิ่มเติมแล้ว</string>
<string name="more_comment">ความคิดเห็นเพิ่มเติม</string>
<string name="no_previews">ไม่มีรูปตัวอย่าง</string>
<string name="no_more_previews">ไม่มีรูปตัวอย่างเพิ่มเติมอีกแล้ว</string>
<string name="more_previews">มีรูปตัวอย่าง</string>
<string name="refresh">รีเฟรช</string>
<string name="open_in_other_app">เปิดด้วยแอปอื่น</string>
<string name="rate_successfully">ให้คะแนนเรียบร้อยแล้ว</string>
<string name="rate_failed">การให้คะแนนล้มเหลว</string>
<string name="no_torrents">ไม่มีไฟล์ torrents</string>
<string name="torrents">Torrents</string>
<string name="favorited">เพิ่มในรายการโปรดแล้ว</string>
<string name="not_favorited">ยังไม่เพิ่มรายการโปรด</string>
<string name="add_favorites_dialog_title">เพิ่มเข้ารายการโปรด</string>
<string name="remember_favorite_collection">จดจำรายการโปรดที่เลือก</string>
<string name="add_to_favorite_success">เพิ่มเข้าในรายการโปรดแล้ว</string>
<string name="remove_from_favorite_success">ลบออกจากรายการโปรดแล้ว</string>
<string name="add_to_favorite_failure">เกิดความล้มเหลวในการเพิ่มเข้าในรายการโปรด</string>
<string name="remove_from_favorite_failure">เกิดข้อล้มเหลวในการลบออกจากรายการโปรด</string>
<string name="block_the_uploader">เพิ่มชื้อผู้อัพโหลด \"%s\" เข้าในตัวกรองลิสต์ไหม?</string>
<string name="filter_added">ตัวกรองถูกเพิ่มแล้ว</string>
<!-- Rating -->
<string name="rating10">นี้มันผลงานมาสเตอร์พีคชัดๆ!</string>
<string name="rating9">อะเมซิ่งมากๆ!</string>
<string name="rating8">เยี่ยม!</string>
<string name="rating7">ดี!</string>
<string name="rating6">ก็โอเคนะ</string>
<string name="rating5">ก็ไม่แย่นะ</string>
<string name="rating4">แย่</string>
<string name="rating3">แย่มาก/กลัวแล้ว</string>
<string name="rating2">โอ๊ยยย~</string>
<string name="rating1">ไม่ไหวแล้วนะ!</string>
<string name="rating0">พังพินาศสุดๆไปเลย!</string>
<!-- Gallery Info -->
<string name="gallery_info">ข้อมูลแกลเลอรี่</string>
<string name="copied_to_clipboard">คัดลอกลงคลิปบอร์ดแล้ว</string>
<string name="header_key">คีย์</string>
<string name="header_value">ข้อมูล</string>
<string name="key_gid">Gid</string>
<string name="key_token">โทเคน</string>
<string name="key_url">URL</string>
<string name="key_title">ชื่อเรื่อง</string>
<string name="key_title_jpn">ชื่อเรื่องญี่ปุ่น</string>
<string name="key_thumb">ภาพตัวอย่าง</string>
<string name="key_category">หมวดหมู่</string>
<string name="key_uploader">ผู้อัพโหลด</string>
<string name="key_posted">โพสต์เมื่อ</string>
<string name="key_parent">Parent</string>
<string name="key_visible">แสดง</string>
<string name="key_language">ภาษา</string>
<string name="key_pages">หน้า</string>
<string name="key_size">ขนาดไฟล์</string>
<string name="key_favorite_count">จำนวนรายการโปรด</string>
<string name="key_favorited">เพิ่มรายการโปรด</string>
<string name="key_rating_count">คนให้คะแนน</string>
<string name="key_rating">คะแนน</string>
<string name="key_torrents">ไฟล์ Torrents</string>
<string name="key_torrent_url">Torrent URL</string>
<!-- Gallery Comments -->
<string name="gallery_comments">การแสดงความคิดเห็นในแกลเลอรี่</string>
<string name="no_one_comments_gallery">ไม่มีความคิดเห็น</string>
<string name="comment_successfully">แสดงความคิดเห็นเสร็จเรียบร้อยแล้ว</string>
<string name="comment_failed">การแสดงความคิดเห็นล้มเหลว</string>
<string name="copy_comment_text">คัดลอกข้อความของความคิดเห็น</string>
<string name="vote_up">ถูกใจ</string>
<string name="cancel_vote_up">ยกเลิกโหวตถูกใจ</string>
<string name="vote_down">ไม่ถูกใจ</string>
<string name="cancel_vote_down">ยกเลิกโหวตไม่ถูกใจ</string>
<string name="vote_up_successfully">โหวดถูกใจแล้ว</string>
<string name="cancel_vote_up_successfully">ยกเลิกโหวตถูกใจแล้ว</string>
<string name="vote_down_successfully">โหวดไม่ถูกใจเสร็จแล้ว</string>
<string name="cancel_vote_down_successfully">ยกเลิกโหวดไม่ถูกใจแล้ว</string>
<string name="vote_failed">การโหวตล้มเหลว</string>
<string name="check_vote_status">ดูรายละเอียดการโหวต</string>
<!-- Gallery Previews -->
<string name="gallery_previews">ตัวอย่างแกลเลอรี่</string>
<string name="go_to">ไปที่</string>
<!-- Download -->
<string name="scene_download_title">ดาวน์โหลด - %s</string>
<string name="no_download_info">รายการดาวน์โหลดจะอยู่ตรงนี้</string>
<string name="download_state_none">Idle</string>
<string name="download_state_wait">กำลังรอ</string>
<string name="download_state_downloading">กำลังดาวน์โหลด</string>
<string name="download_state_downloaded">ดาวน์โหลดแล้ว</string>
<string name="download_state_failed">ล้มเหลว</string>
<string name="download_state_failed_2">%d ที่ไม่เสร็จ</string>
<string name="download_state_finish">เสร็จ</string>
<string name="stat_509_alert_title">คำเตือน 509</string>
<string name="stat_509_alert_text">การลิมิตของรูปภาพต่อวันถึงลิมิตแล้ว กรุณาหยุดโหลดและพักผ่อนบ้างนะ</string>
<string name="stat_download_done_title">ดาวน์โหลดเสร็จสิ้น</string>
<string name="stat_download_done_text_succeeded">%d ที่เสร็จ</string>
<string name="stat_download_done_text_failed">%d ที่ล้มเหลว</string>
<string name="stat_download_done_text_mix">%1$d ที่เสร็จ, %2$d ที่ล้มเหลว</string>
<string name="stat_download_done_line_succeeded">เสร็จแล้ว: %s</string>
<string name="stat_download_done_line_failed">ล้มเหลว: %s</string>
<string name="download_remove_dialog_title">ลบรายการดาวน์โหลด</string>
<string name="download_remove_dialog_message">ต้องการลบ %s ออกจากรายการดาวน์โหลดไหม?</string>
<string name="download_remove_dialog_message_2">ต้องการลบ %d รายการจากรายการดาวน์โหลดไหม?</string>
<string name="download_remove_dialog_check_text">ลบไฟล์ภาพด้วย</string>
<string name="stat_download_action_stop_all">หยุดทั้งหมด</string>
<string name="drawer_download_label_title">ป้ายชื่อ</string>
<string name="default_download_label_name">ค่าเริ่มต้น</string>
<string name="download_move_dialog_title">ย้าย</string>
<string name="download_labels">ป้ายชื่อดาวน์โหลด</string>
<string name="download_start_all">เริ่มทั้งหมด</string>
<string name="download_stop_all">หยุดทั้งหมด</string>
<string name="download_reset_reading_progress">รีเซ็ตตำแหน่งที่อ่าน</string>
<string name="reset_reading_progress_message">รีเซ็ตตำแหน่งที่อ่านค้างไว้ทั้งหมดในแกลเลอรี่ที่โหลดไว้ทั้งหมดหรือไม่?</string>
<string name="download_service_label">บริการดาวน์โหลดของ EhViewer</string>
<string name="download_speed_text">%s</string>
<string name="download_speed_text_2">%1$s, %2$s left</string>
<string name="remember_download_label">จดจำป้ายชื่อดาวน์โหลด</string>
<string name="default_download_label">ป้ายชื่อดาวน์โหลดเริ่มต้น</string>
<string name="added_to_download_list">เพิ่มเข้าในรายการดาวน์โหลดแล้ว</string>
<!-- Download label -->
<string name="no_download_label">ชื่อป้ายดาวน์โหลดจะอยู่ตรงนี้</string>
<string name="add">เพิ่ม</string>
<string name="new_label_title">ป้ายชื่ออันใหม่</string>
<string name="label_text_is_empty">ข้อความป้ายชื่อว่างอยู่</string>
<string name="label_text_is_invalid">ชื่อ \"ค่าเริ่มต้น\" นั้นไม่ถูกต้อง</string>
<string name="label_text_exist">มีป้ายชื่อนี้อยู่แล้ว</string>
<string name="rename_label_title">เปลี่ยนชื่อ</string>
<string name="delete_label_title">ลบป้ายชื่อ</string>
<string name="delete_label_message">จะลบป้ายชื่อ \"%s\" หรือไม่?</string>
<!-- History -->
<string name="no_history">ประวัติการเข้าชมแกลเลอรี่จะอยู่ตรงนี้</string>
<string name="clear_all">ลบทั้งหมด</string>
<string name="clear_all_history">จะลบประวัติทั้งหมดเลยหรือไม่?</string>
<!-- Filter -->
<string name="filter">ตัวกรอง</string>
<string name="no_filter">ตัวกรองจะอยู่ตรงนี้</string>
<string name="filter_title">ชื่อเรื่อง</string>
<string name="filter_uploader">ผู้อัพโหลด</string>
<string name="filter_tag">แท็ก</string>
<string name="filter_tag_namespace">ชื่อของแท็ก</string>
<string name="delete_title_filter">จะลบตัวกรองแท็ก \"%s\" หรือไม่?</string>
<string name="delete_uploader_filter">จะลบตัวกรองผู้อัพโหลด \"%s\" หรือไม่?</string>
<string name="delete_tag_filter">จะลบตัวกรองแท็ก \"%s\" หรือไม่?</string>
<string name="delete_filter">จะลบตัวกรอง \"%s\" หรือไม่?</string>
<string name="tip">คำแนะนำ</string>
<string name="add_filter">เพิ่มตัวกรอง</string>
<string name="show_definition">แสดงความหมาย</string>
<string name="filter_text">ตัวกรองข้อความ</string>
<string name="filter_tip">ตัวกรองชื่อเรื่อง: จะไม่แสดงแกลเลอรี่ที่มีคำเหล่านี้ให้เห็น\n\nตัวกรองผู้อัพโหลด: จะไม่แสดงแกลเลอรี่ที่ผู้อัพโหลดที่ถูกกรองได้อัพโหลดไว้\n\nตัวกรองแท็ก: จะไม่แสดงแกลเลอรี่ที่มีแท็กเหล่านี้ อาจจะใช้เวลาในการแยกออกจากรายการแกลเลอรี่\n\nตัวกรองแท็กเนมสเปซ: จะไม่แสดงแกลเลอรี่ที่เนมสเปซของแท็กนี้ อาจจะใช้เวลาในการแยกออกจากรายการแกลเลอรี่</string>
<!-- Set Security -->
<string name="set_pattern_protection">ตั้้งการป้องกันแบบรูปแบบ</string>
<string name="set_pattern_protection_tip">ลากรูปแบบเพื่อตั้งค่าการป้องกันแบบรูปแบบ\nเว้นว้างไว้เพื่อลบการป้องกันแบบรูปแบบ</string>
<string name="set">กำหนด</string>
<string name="enable_fingerprint">อนุญาตใช้สแกนลายนิ้วมือเพื่อปลดล็อกเช่นกัน</string>
<!-- UConfig Activity -->
<string name="u_config">การตั้งค่า EHentai</string>
<string name="apply">ยืนยัน</string>
<string name="apply_tip">แตะเครื่องหมายถูกเพื่อบันทึกการตั้งค่าแล้ว</string>
<!-- Hosts Activity -->
<string name="hosts">ปรับแต่ง hosts.txt เอง</string>
<string name="hosts_tip">hosts.txt</string>
<string name="hosts_host">โฮสต์</string>
<string name="hosts_ip">ไอพี</string>
<string name="add_host">เพิ่มโฮสต์</string>
<string name="add_host_add">เพิ่ม</string>
<string name="edit_host">แก้ไขโฮสต์</string>
<string name="edit_host_confirm">ยืนยัน</string>
<string name="edit_host_delete">ลบ</string>
<string name="invalid_host">โฮสต์ไม่ถูกต้อง</string>
<string name="invalid_ip">ไอพีไม่ถูกต้อง</string>
<!-- Gallery Activity -->
<string name="page_menu_title">หน้า %d</string>
<string name="page_menu_refresh">รีเฟรช</string>
<string name="page_menu_share">แชร์</string>
<string name="page_menu_save">บันทึก</string>
<string name="page_menu_save_to">บันทึกลงที่…</string>
<string name="page_menu_add_bookmark">เพิ่มบุคมาร์ก</string>
<string name="gallery_menu_title">เมนู</string>
<string name="share_image">แชร์รูปภาพ</string>
<string name="image_saved">ภาพถูกบันทึกไปที่ %s</string>
<string name="settings_eh">EH</string>
<string name="settings_eh_sign_out">ออกจากระบบ</string>
<string name="settings_eh_sign_out_summary">เริ่มแอปพลิเคชั่นใหม่เพื่อลงชื่อเข้าสู่ระบบ</string>
<string name="settings_eh_sign_out_warning">คุณแน่ใจแล้วนะที่จะลงชื่อออกจากระบบ?</string>
<string name="settings_eh_sign_out_yes">ใช่</string>
<string name="settings_eh_sign_out_tip">คุณได้ลงชื่อออกจากระบบแล้ว เริ่มแอปพลิเคชั่นใหม่เพื่อลงชื่อเข้าสู่ระบบอีกครั้ง</string>
<string name="settings_eh_identity_cookies">คุกกี๊ยืนยันตัวตน</string>
<string name="settings_eh_identity_cookies_summary">คุกกี๊สามารถใช้ในการลงชื่อเข้าสู่ระบบได้</string>
<string name="settings_eh_identity_cookies_signed">คุกกี๊ยืนยันตัวตนสามารถใช้ลงชื่อเข้าสู่ระบบสำหรับบัญชีนี้เท่านั้น&lt;br&gt;&lt;b&gt;เก็บ รักษา ให้ ปลอดภัย&lt;/b&gt;&lt;br&gt;&lt;br&gt;%s</string>
<string name="settings_eh_identity_cookies_tourist">ยังไม่ลงชื่อเข้าสู่ระบบ</string>
<string name="settings_eh_identity_cookies_copy">คัดลอก</string>
<string name="settings_u_config">การตั้งค่า EHentai</string>
<string name="settings_u_config_summary">การตั้งค่าบนเว็บไซต์ EHentai</string>
<string name="settings_eh_theme">ธีม</string>
<string name="settings_eh_theme_light">สว่าง</string>
<string name="settings_eh_theme_dark">มืด</string>
<string name="settings_eh_theme_black">ดำ</string>
<string name="settings_eh_apply_nav_bar_theme_color">ใช้สีของธีมบนแถบนำทางด้วย</string>
<string name="settings_eh_gallery_site">เว็บไซต์หลักของแกลเลอรี่</string>
<string name="settings_eh_list_mode">มุมองแบบรายการ</string>
<string name="settings_eh_list_mode_detail">แสดงรายละเอียด</string>
<string name="settings_eh_list_mode_thumb">ภาพตัวอย่าง</string>
<string name="settings_eh_detail_size">ขนาดของรายละเอียด</string>
<string name="settings_eh_detail_size_long">อย่างยาว</string>
<string name="settings_eh_detail_size_short">อย่างสั้น</string>
<string name="settings_eh_thumb_size">ขนาดภาพตัวอย่าง</string>
<string name="settings_eh_thumb_size_large">ใหญ่</string>
<string name="settings_eh_thumb_size_middle">กลาง</string>
<string name="settings_eh_thumb_size_small">เล็ก</string>
<string name="settings_eh_thumb_resolution">ความละเอียดภาพตัวอย่าง</string>
<string name="settings_eh_thumb_resolution_summary">ค่าตอนนี้เป็น %s. การตั้งความละเอียดที่แน่นอนอาจจะส่งผลต่อการโหลดตัวอย่างที่อาจจะไม่สำเร็จด้วย</string>
<string name="settings_eh_thumb_resolution_auto">อัตโนมัติ</string>
<string name="settings_eh_fix_thumb_url">แก้ลิงค์ภาพตัวอย่าง</string>
<string name="settings_eh_default_categories">หมวดหมู่บนหน้าแรก</string>
<string name="settings_eh_default_categories_summary">หมวดหมู่จะแสดงเป็นค่าเริ่มต้นบนหน้าแรก</string>
<string name="settings_eh_excluded_languages">ภาษาที่ยกเว้น</string>
<string name="settings_eh_excluded_languages_summary">ซ่อนแกลเลอรี่ที่มีภาษาต่างๆจากรายการแกลเลอรี่และการค้นหา</string>
<string name="settings_eh_excluded_tag_namespaces">แท็กเนมสเปซที่ยกเว้น</string>
<string name="settings_eh_excluded_tag_namespaces_summary">แยกเนมสเปซที่ตั้งไว้ออกจากที่ค้นหาแท็กที่เป็นค่าเริ่มต้น</string>
<string name="settings_eh_show_jpn_title">แสดงชื่อเรื่องญี่ปุ่น</string>
<string name="settings_eh_show_jpn_title_summary_on">พยายามแสดงแสดงชื่อเรื่องภาษาญี่ปุ่น อาจใช้เวลามากขึ้นในการแสดงรายการแกลเลอรี่</string>
<string name="settings_eh_show_jpn_title_summary_off">แสดงค่าเริ่มต้นของชื่อเรื่อง ซึ่งส่วนมากแล้วจะใช้ภาษาอังกฤษ</string>
<string name="settings_eh_show_gallery_pages">แสดงจำนวนหน้าของแกลเลอรี่</string>
<string name="settings_eh_show_gallery_pages_summary">แสดงจำนวนหน้าที่มีอยู่ในแต่ละแกลเลอรี่ อาจใช้เวลามากขึ้นในการดึงรายการแกลเลอรี่</string>
<string name="settings_eh_show_tag_translations">แสดงแท็กการแปลภาษา</string>
<string name="settings_eh_show_tag_translations_summary">แสดงแท็กการแปลภาษาแทนที่ข้อความต้นฉบับ (อาจใช้เวลามากขึ้นเพื่อดาวน์โหลดไฟล์ข้อมูล)</string>
<string name="settings_eh_tag_translations_source">Placeholder</string>
<string name="settings_eh_tag_translations_source_url">https://placeholder</string>
<string name="settings_eh_filter">ตัวกรอง</string>
<string name="settings_eh_filter_summary">กรองโดยชื่อเรื่อง, ผู้อัพโหลด, แท็ก และแท็กเนมสเปซ</string>
<string name="settings_eh_cellular_network_warning">เตือนการใช้เครือข่ายมือถือ</string>
<string name="settings_read">การอ่าน</string>
<string name="settings_read_screen_rotation">ทิศทางของหน้าจอ</string>
<string name="settings_read_screen_rotation_default">ค่าเริ่มต้น</string>
<string name="settings_read_screen_rotation_portrait">แนวตั้ง</string>
<string name="settings_read_screen_rotation_landscape">แนวนอน</string>
<string name="settings_read_reading_direction">ทิศทางการเปิดหน้าอ่าน</string>
<string name="settings_read_reading_direction_left_to_right">ซ้าย -> ขวา</string>
<string name="settings_read_reading_direction_right_to_Left">ขวา -> ซ้าย</string>
<string name="settings_read_reading_direction_top_to_bottom">บน -> ล่าง</string>
<string name="settings_read_page_scaling">ขนาดของหน้า</string>
<string name="settings_read_page_scaling_actual_size">เท่าขนาด</string>
<string name="settings_read_page_scaling_fit_to_width">พอดีกับขนาดแนวกว้าง</string>
<string name="settings_read_page_scaling_fit_to_height">พอดีกับขนาดแนวสูง</string>
<string name="settings_read_page_scaling_fit_to_screen">พอดีกับขนาดหน้าจอ</string>
<string name="settings_read_page_scaling_fixed_scale">ขนาดตายตัว</string>
<string name="settings_read_start_position">ตำแหน่งเริ่มต้น</string>
<string name="settings_read_start_position_top_left">บนซ้าย</string>
<string name="settings_read_start_position_top_right">บนขวา</string>
<string name="settings_read_start_position_bottom_left">ล่างซ้าย</string>
<string name="settings_read_start_position_bottom_right">ล่างขวา</string>
<string name="settings_read_start_position_center">ตรงกลาง</string>
<string name="settings_read_keep_screen_on">เปิดหน้าจอค้างไว้</string>
<string name="settings_read_show_clock">แสดงเวลา</string>
<string name="settings_read_show_progress">แสดงความคืบหน้า</string>
<string name="settings_read_show_battery">แสดงแบตเตอรี่</string>
<string name="settings_read_show_page_interval">แสดงความห่างของหน้าเมื่อเปลี่ยน</string>
<string name="settings_read_volume_page">ใช้ปุ่มปรับเสียงเพื่อเปลี่ยนหน้า</string>
<string name="settings_read_reading_fullscreen">อ่านเต็มจอ</string>
<string name="settings_read_custom_screen_lightness">ปรับความสว่างของหน้าจอ</string>
<string name="settings_read_screen_lightness">แสงหน้าจอ</string>
<string name="settings_download">การดาวน์โหลด</string>
<string name="settings_download_download_location">ตำแหน่งแหล่งดาวน์โหลด</string>
<string name="settings_download_invalid_download_location">ตำแหน่งแหล่งดาวน์โหลดไม่ถูกต้อง</string>
<string name="settings_download_cant_get_download_location">ไม่สามารถเข้าถึงแหล่งดาวน์โหลดได้</string>
<string name="settings_download_pick_dir_kk">บน Android เวอร์ชั่น 4.4 (หรือ KitKat) เป็นต้นไป แอพจะไม่สามารถเขียนข้อมูลใดๆก็ตามบนพื้นที่จัดเก็บภายนอกอย่างการ์ด SD ได้ เว้นแต่ว่าคุณจะรูทระบบและเพิ่มแพชต์เข้าไป แต่ &lt;การ์ด SD&gt;/Android/data/com.hippo.ehviewer นั้นเป็นข้อยกเว้น สามารถให้เขียนได้สำหรับแอพนี้</string>
<string name="settings_download_pick_dir_l">บน Android เวอร์ชั่น 5.0 (หรือ Lolipop) เป็นต้นไป ได้ใช้ API ตัวใหม่เพื่อเขียนข้อมูลบนพื้นที่จัดเก็บภายนอกอย่างการ์ด SD ได้ แตะที่ \"เอกสาร\" ถ้าคุณอยากตั้งให้การ์ด SD เป็นแหล่งดาวน์โหลด</string>
<string name="settings_download_document">เอกสาร</string>
<string name="settings_download_continue">ดำเนินการต่อ</string>
<string name="settings_download_media_scan">การอนุญาตให้สแกนสื่อ</string>
<string name="settings_download_media_scan_summary_on">โปรดซ่อนแอปแกลเลอรี่หรือแอปดูรูปในเครื่องของคุณจากคนอื่นด้วย</string>
<string name="settings_download_media_scan_summary_off">แอปแกลเลอรี่ส่วนใหญ่จะข้ามการสแกนรูปภาพในแหล่งดาวน์โหลด</string>
<string name="settings_download_multi_thread_download">ดาวน์โหลดแบบหลายเธด</string>
<string name="settings_download_multi_thread_download_summary">โหลดถึง %s ภาพ</string>
<string name="settings_download_preload_image">โหลดภาพล่วงหน้า</string>
<string name="settings_download_preload_image_summary">โหลดภาพล่วงหน้าไป %s ภาพ</string>
<string name="settings_download_image_resolution">ความละเอียดของภาพ</string>
<string name="settings_download_image_resolution_summary">ค่าตอนนี้เป็น %s. ความละเอียดตั้งแต่ 1280x ขึ้นไปอาจจะไม่ทำงาน</string>
<string name="settings_download_image_resolution_auto">อัตโนมัติ</string>
<string name="settings_download_download_origin_image">ดาวน์โหลดรูปภาพต้นฉบับ</string>
<string name="settings_download_download_origin_image_summary">อันตรายนะ! คุณอาจจะเจอรหัสข้อผิดพลาด 509 ได้</string>
<string name="settings_download_restore_download_items">คืนรายการดาวน์โหลด</string>
<string name="settings_download_restore_download_items_summary">คืนรายการดาวน์โหลดทั้งหมดในแหล่งดาวน์โหลด</string>
<string name="settings_download_restoring">กำลังคืนค่า</string>
<string name="settings_download_restore_not_found">ไม่พบรายการดาวน์โหลดที่จะคืนค่า</string>
<string name="settings_download_restore_failed">การคืนค่าล้มเหลว</string>
<string name="settings_download_restore_successfully">การคืนค่า %d รายการสำเร็จแล้ว</string>
<string name="settings_download_clean_redundancy">ลบการดาวน์โหลดที่ไม่จำเป็น</string>
<string name="settings_download_clean_redundancy_summary">ลบรูปภาพแกลเลอรี่ที่ไม่ได้อยู่ในรายการดาวน์โหลด แต่อยู่ในแหล่งดาวน์โหลด</string>
<string name="settings_download_clean_redundancy_no_redundancy">ไม่มีสิ่งที่ไม่จำเป็น</string>
<string name="settings_download_clean_redundancy_done">การลบสิ่งที่ไม่จำเป็นเสร็จสิ้น ลบไปแล้วทั้งหมด %d ชิ้น</string>
<string name="settings_advanced">ขั้นสูง</string>
<string name="settings_advanced_save_parse_error_body">บันทึกเนื้อหาลง HTML เมื่อการวิเคราะห์ผิดพลาด</string>
<string name="settings_advanced_save_parse_error_body_summary">เนื้อหาแบบ HTML อาจจะเป็นข้อมูลความเป็นส่วนตัวที่มีความอ่อนไหวได้</string>
<string name="settings_advanced_save_crash_log">บันทึกข้อผิดพลาดเมื่อเกิด crash</string>
<string name="settings_advanced_save_crash_log_summary">การบันทึกข้อผิดพลาดจาก crash จะช่วยให้ผู้พัฒนาหาและแก้ไขบัคต่างๆได้ง่าย</string>
<string name="settings_advanced_dump_logcat">สร้าง Logcat</string>
<string name="settings_advanced_dump_logcat_summary">บันทึก Logcat ไปที่พื้นที่จัดเก็บภายนอก</string>
<string name="settings_advanced_dump_logcat_failed">การสร้าง Logcat เกิดข้อผิดพลาด</string>
<string name="settings_advanced_dump_logcat_to">Logcat ถูกสร้างอยู่ที่ %s</string>
<string name="settings_advanced_clear_download_path_cache">ลบไฟล์ขยะในแหล่งดาวน์โหลด</string>
<string name="settings_advanced_clear_download_path_cache_summary">แกลเลอรี่ที่ดาวน์โหลดอยู่อาจเกิดข้อผิดพลาด และอาจจะต้องดาวน์โหลดใหม่อีกครั้ง การลบไฟล์ขยะในแหล่งดาวน์โหลดจะช่วยแก้ปัญหานี้ได้</string>
<string name="settings_advanced_clear_download_path_cache_message">ต้องการลบไฟล์ขยะในแหล่งดาวน์โหลดหรือไม่?</string>
<string name="settings_advanced_clear_memory_cache">ลบไฟล์ขยะในหน่วยความจำ</string>
<string name="settings_advanced_clear_memory_cache_summary">ลบภาพตัวอย่าง และข้อมูลแกลเลอรี่ที่มีการเก็บข้อมูลไว้</string>
<string name="settings_advanced_read_cache_size">ขนาดในการเก็บไฟล์ชั่วคราวเพื่ออ่าน</string>
<string name="settings_advanced_app_language_title">ภาษาของแอป</string>
<string name="settings_advanced_proxy">พร็อกซี่</string>
<string name="settings_advanced_proxy_summary_1">%1$s %2$s:%3$d</string>
<string name="settings_advanced_proxy_summary_2">%1$s</string>
<string name="settings_advanced_built_in_hosts_title">ใช้ hosts.txt ของตัวแอป</string>
<string name="settings_advanced_built_in_hosts_summary">ใช้ host-to-IP mapping แบบภายในที่จัดทำโดยตัวแอปเอง\nมันอาจจะเกิดการทับซ้อนกันจากการปรับแต่งไฟล์ hosts.txt เอง</string>
<string name="settings_advanced_custom_hosts_title">ปรับแต่งไฟล์ hosts.txt เอง</string>
<string name="settings_advanced_custom_hosts_summary">ทำแผนผัง hostnames ถึง ที่อยู่ของ IP\nมันอาจจะเกิดการทับซ้อนกันกับการใช้ hosts.txt ของตัวแอป</string>
<string name="settings_privacy_pattern_protection_title">การป้องกันแบบรูปแบบ</string>
<string name="settings_privacy_pattern_protection_not_set">ยังไม่ได้ตั้งค่าการป้องกันแบบรูปแบบ</string>
<string name="settings_privacy_pattern_protection_set">การป้องกันแบบรูปแบบถูกตั้งค่าเรียบร้อยแล้ว</string>
<string name="settings_advanced_export_data">สำเนาข้อมูล</string>
<string name="settings_advanced_export_data_summary">บันทึกข้อมูลต่างๆเช่นรายการดาวน์โหลด และค้นหาอย่างด่วนลงพื้นที่จัดเก็บภายนอก</string>
<string name="settings_advanced_export_data_to">ได้สำเนาข้อมูลแล้วจัดเก็บที่ %s</string>
<string name="settings_advanced_export_data_failed">การสำเนาข้อมูลล้มเหลว</string>
<string name="settings_advanced_import_data">นำเข้าข้อมูล</string>
<string name="settings_advanced_import_data_summary">ดึงข้อมูลต่างๆจากไฟล์สำเนาที่ทำมาก่อนหน้านี้</string>
<string name="settings_advanced_import_data_successfully">การนำเข้าข้อมูลสำเร็จ</string>
<string name="settings_about">เกี่ยวกับ</string>
<string name="settings_about_declaration" translatable="false">EhViewer</string>
<string name="settings_about_declaration_summary">EhViewer ไม่มีความแตกต่างจากตัวเว็บ E-Hentai.org แต่อย่างใด</string>
<string name="settings_about_author">นักพัฒนา</string>
<string name="settings_about_author_summary" translatable="false">Hippo &lt;ehviewersu$gmail.com&gt;</string>
<string name="settings_about_telegram">Telegram</string>
<string name="settings_about_website">เว็บไซต์</string>
<string name="settings_about_source">ซอร์สโค้ด</string>
<string name="settings_about_changelog">บันทึกการเปลี่ยนแปลง</string>
<string name="settings_about_help">ช่วยเหลือ</string>
<string name="settings_about_license">ใบอนุญาต</string>
<string name="settings_about_license_summary">EhViewer ต้องขอขอบคุณโครงการโอเพ่นซอร์สหลายๆโครงการเป็นอย่างสูง</string>
<string name="settings_about_donate">บริจาค</string>
<string name="settings_about_donate_message">เงินบริจาคของคุณจะไม่ได้บริการพิเศษ แต่จะทำให้แอปพัฒนาไปได้ไกลมากขึ้น</string>
<string name="settings_about_donate_alipay">Alipay</string>
<string name="settings_about_donate_paypal">PayPal</string>
<string name="settings_about_donate_open">เปิดลิงค์</string>
<string name="settings_about_donate_copy">คัดลอก</string>
<string name="settings_about_donate_copied">คัดลอกแล้ว</string>
<string name="settings_privacy_enable_analytics">เปิดการวิเคราะห์ข้อมูล</string>
<string name="settings_privacy_about_analytics">เกี่ยวกับการวิเคราะห์ข้อมูล</string>
<string name="settings_about_version">เวอร์ชั่นแอป</string>
<string name="settings_about_check_for_updates">ตรวจสอบการอัพเดต</string>
<string name="settings_about_beta_update_channel">ใช้เวอร์ชั่นทดสอบ (Beta)</string>
<string name="settings_about_beta_update_channel_summary">ในเวอร์ชั่นทดสอบอาจมีบัคที่ยังไม่ได้แก้ไข</string>
<string name="proxy_enable">เปิดใช้งาน</string>
<string name="proxy_enabled">เปิดใช้งานแล้ว</string>
<string name="proxy_disabled">ปิดใช้งานแล้ว</string>
<string name="proxy_direct">โดยตรง</string>
<string name="proxy_system">พร็อกซี่ของระบบ</string>
<string name="proxy_host_or_ip">โฮสต์ หรือ ไอพี</string>
<string name="proxy_port">พอร์ต</string>
<string name="proxy_domain_not_supported">ไม่รองรับโดเมนนี้</string>
<string name="proxy_invalid_port">เลขพอร์ตไม่ถูกต้อง</string>
<string name="cant_get_data_dir">ไม่สามารถรับข้อมูลได้</string>
<string name="cant_find_any_data">ค้นหาไฟล์ต่างๆไม่เจอ</string>
<string name="cant_read_the_file">ไม่สามารถอ่านไฟล์ได้</string>
<string name="app_language_system">ภาษาของระบบ (ค่าเริ่มต้น)</string>
<!-- ExcludedLanguagesScene -->
<string name="excluded_languages">ภาษาที่ยกเว้น</string>
<string name="select_all">ทั้งหมด</string>
<string name="deselect_all">ไม่ทั้งหมด</string>
<string name="invert_selection">เลือกตรงกันข้าม</string>
<string name="language">ภาษา</string>
<string name="original">ต้นฉบับ</string>
<string name="translated">แปล</string>
<string name="rewrite">ถูกทำใหม่</string>
<string name="language_japanese">ภาษาญี่ปุ่น</string>
<string name="language_english">ภาษาอังกฤษ</string>
<string name="language_chinese">ภาษาจีน</string>
<string name="language_dutch">ภาษาดัตซ์</string>
<string name="language_french">ภาษาฝรั่งเศส</string>
<string name="language_german">ภาษาเยอรมัน</string>
<string name="language_hungarian">ภาษาฮังการี</string>
<string name="language_italian">ภาษาอิตาเลี่ยน</string>
<string name="language_korean">ภาษาเกาหลี</string>
<string name="language_polish">ภาษาโปแลนด์</string>
<string name="language_portuguese">ภาษาโปรตุเกส</string>
<string name="language_russian">ภาษารัสเซีย</string>
<string name="language_spanish">ภาษาสเปน</string>
<string name="language_thai">ภาษาไทย</string>
<string name="language_vietnamese">ภาษาเวียดนาม</string>
<string name="language_na">N/A</string>
<string name="language_other">อื่นๆ</string>
<string name="please_wait">รอสักครู่</string>
<!-- License -->
<string name="license">ใบอนุญาต</string>
<!-- Dir Picker-->
<string name="dir_picker">เลือกโฟลเดอร์</string>
<string name="directory_not_writable">โฟลเดอร์นี้เขียนไฟล์ไม่ได้</string>
<!-- Favorites -->
<string name="cloud_favorites">รายการโปรดบนเว็บ</string>
<string name="local_favorites">รายการโปรดบนเครื่อง</string>
<string name="favorites_search_bar_hint">ค้นหา %s</string>
<string name="favorites_title">%s</string>
<string name="favorites_title_2">%1$s - %2$s</string>
<string name="delete_favorites_dialog_title">ลบออกจากรายการโปรด</string>
<string name="delete_favorites_dialog_message">ต้องการลบ %d รายการออกจากรายการโปรดหรือไม่?</string>
<string name="move_favorites_dialog_title">ย้ายรายการโปรด</string>
<string name="default_favorites_collection">ค่าเริ่มต้นของที่เก็บรายการโปรด</string>
<string name="let_me_select">ขอให้ฉันเลือกนะ</string>
<string name="favorites_info">ข้อมูลรายการโปรด</string>
<string name="collections">คอลเลคชั่น</string>
<string name="count">จำนวน</string>
<string name="need_sign_in">จำเป็นต้องลงชื่อเข้าใช้ก่อน</string>
<!-- Progress Scene -->
<string name="error_something_wrong_happened">มีสิ่งผิดปกติบางอย่างเกิดขึ้น</string>
<!-- Guide -->
<string name="guide_quick_search_title">ค้นหาอย่างด่วน</string>
<string name="guide_quick_search_text">ปัดซ้ายเพื่อเปิดแผงควบคุมการค้นหาอย่างด่วน</string>
<string name="guide_collections_title">คอลเลคชั่น</string>
<string name="guide_collections_text">ปัดซ้ายเพื่อเลือกคอลเลคชั่น</string>
<string name="guide_download_labels_title">ป้ายชื่อดาวน์โหลด</string>
<string name="guide_download_labels_text">ปัดซ้ายเพื่อเปิดแผงควบคุมป้ายชื่อดาวน์โหลด</string>
<string name="guide_download_thumb_title">รายละเอียดแกลเลอรี่</string>
<string name="guide_download_thumb_text">แตะที่ภาพตัวอย่างเพื่อดูรายละเอียดของแกลเลอรี่</string>
<string name="guide_gallery_left">เปลี่ยนหน้า</string>
<string name="guide_gallery_right">เปลี่ยนหน้า</string>
<string name="guide_gallery_menu">เมนู</string>
<string name="guide_gallery_progress">ความคืบหน้า</string>
<string name="guide_gallery_long_click">แตะค้างไว้เพื่อเปิดหน้าเมนู</string>
<!-- Readable Time -->
<string name="from_the_future">จากอนาคต</string>
<string name="just_now">เดี๋ยวนี้</string>
<plurals name="some_minutes_ago">
<item quantity="other">%d นาทีที่ผ่านมา</item>
</plurals>
<plurals name="some_hours_ago">
<item quantity="other">%d ชั่วโมงที่ผ่านมา</item>
</plurals>
<string name="yesterday">เมื่อวาน</string>
<string name="some_days_ago">%d วันที่ผ่านมา</string>
<plurals name="second">
<item quantity="other">วิ</item>
</plurals>
<plurals name="minute">
<item quantity="other">นาที</item>
</plurals>
<plurals name="hour">
<item quantity="other">ชั่วโมง</item>
</plurals>
<plurals name="day">
<item quantity="other">วัน</item>
</plurals>
<plurals name="year">
<item quantity="other">ปี</item>
</plurals>
<string name="dialog_archive_title">H@H Downloader</string>
<string name="no_archives">ยังไม่มีไฟล์บีบอัด</string>
<string name="download_archive_started">เริ่มการดาวน์โหลดบีบอัด</string>
<string name="download_archive_failure">การดาวน์โหลดไฟล์บีบอัดล้มเหลว</string>
<string name="archive">การบีบอัด</string>
<string name="download_archive_failure_no_hath">ต้องการ H@H client เพื่อโหลดไฟล์บีบอัด</string>
<string name="settings_privacy">ความเป็นส่วนตัว</string>
<string name="settings_privacy_secure">ป้องกันการบันทึกภาพหน้าจอ</string>
<string name="settings_privacy_secure_summary">ป้องกันเนื้อหาต่างๆของตัวแอปจากการถูกบันทึกหน้าจอ หรือถูกแสดงในหน้ารายการ \"แอพล่าสุด\" ตอนสลับหรือระหว่างสลับไปแอปอื่น.</string>
<string name="download_service">บริการดาวน์โหลด</string>
<string name="favorite_name">รายการโปรด</string>
</resources>
+1 -1
View File
@@ -90,7 +90,7 @@
<string name="error_cant_save_image">无法保存图片</string>
<string name="error_invalid_number">非法数字</string>
<string name="app_waring">本应用中内容来自互联网,部分内容可能对您的生理及心理造成难以恢复的伤害。本应用作者不会对由本应用造成的任何后果负责。</string>
<string name="app_waring">本应用中内容来自互联网,部分内容可能对您的生理及心理造成难以恢复的伤害。本应用作者不会对由本应用造成的任何后果负责。\n\n未成年人应在监护人指导下使用本应用。</string>
<string name="error_username_cannot_empty">用户名不可为空</string>
<string name="error_password_cannot_empty">密码不可为空</string>
<string name="skip_signing_in">跳过登录</string>
+1 -1
View File
@@ -90,7 +90,7 @@
<string name="error_cant_save_image">無法保存圖片</string>
<string name="error_invalid_number">非法數字</string>
<string name="app_waring">本應用中內容來自互聯網,部分內容可能對您的生理及心理造成難以恢復的傷害。本應用作者不會對由本應用造成的任何後果負責。</string>
<string name="app_waring">本應用中內容來自互聯網,部分內容可能對您的生理及心理造成難以恢復的傷害。本應用作者不會對由本應用造成的任何後果負責。\n\n未成年人應在監護人指導下使用本應用。</string>
<string name="error_username_cannot_empty">用户名不可為空</string>
<string name="error_password_cannot_empty">密碼不可為空</string>
<string name="skip_signing_in">跳過登錄</string>
+1 -1
View File
@@ -90,7 +90,7 @@
<string name="error_cant_save_image">無法儲存圖片</string>
<string name="error_invalid_number">無效的數字</string>
<string name="app_waring">本應用程式中內容來自網際網路,部分內容可能對您的生理及心理造成難以恢復的傷害。本應用程式的作者不會對由其所造成的任何影響負責。</string>
<string name="app_waring">本應用程式中內容來自網際網路,部分內容可能對您的生理及心理造成難以恢復的傷害。本應用程式的作者不會對由其所造成的任何影響負責。\n\n未成年人應在監護人指導下使用本應用程式。</string>
<string name="error_username_cannot_empty">使用者名稱欄位不能為空</string>
<string name="error_password_cannot_empty">密碼欄位不能為空</string>
<string name="skip_signing_in">略過登入</string>
+2
View File
@@ -237,6 +237,7 @@
<item>@string/app_language_fr</item>
<item>@string/app_language_ja</item>
<item>@string/app_language_ko</item>
<item>@string/app_language_th</item>
<item>@string/app_language_zh_cn</item>
<item>@string/app_language_zh_hk</item>
<item>@string/app_language_zh_tw</item>
@@ -250,6 +251,7 @@
<item>fr</item>
<item>ja</item>
<item>ko</item>
<item>th</item>
<item>zh-CN</item>
<item>zh-HK</item>
<item>zh-TW</item>
+5 -4
View File
@@ -621,9 +621,10 @@
<string name="app_language_de">Deutsch</string>
<string name="app_language_en" translatable="false">English</string>
<string name="app_language_es" translatable="false">Español</string>
<string name="app_language_fr">français (France)</string>
<string name="app_language_fr" translatable="false">Français</string>
<string name="app_language_ja" translatable="false">日本語</string>
<string name="app_language_ko" translatable="false">한국어</string>
<string name="app_language_th" translatable="false">ไทย</string>
<string name="app_language_zh_cn" translatable="false">中文(大陆)</string>
<string name="app_language_zh_hk" translatable="false">中文(香港)</string>
<string name="app_language_zh_tw" translatable="false">國文(臺灣)</string>
@@ -685,11 +686,11 @@
<!-- Guide -->
<string name="guide_quick_search_title">Quick Search</string>
<string name="guide_quick_search_text">Swipe to right to open quick search panel</string>
<string name="guide_quick_search_text">Swipe left to open quick search panel</string>
<string name="guide_collections_title">Collections</string>
<string name="guide_collections_text">Swipe to right to select collections</string>
<string name="guide_collections_text">Swipe left to select collections</string>
<string name="guide_download_labels_title">Download Labels</string>
<string name="guide_download_labels_text">Swipe right to open download labels panel</string>
<string name="guide_download_labels_text">Swipe left to open download labels panel</string>
<string name="guide_download_thumb_title">Gallery Detail</string>
<string name="guide_download_thumb_text">Tap the thumbnail to view gallery detail</string>
<string name="guide_gallery_left">Turn Page</string>
@@ -0,0 +1,89 @@
/*
* Copyright 2019 Hippo Seven
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hippo.ehviewer.client.parser;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertNotNull;
import com.hippo.ehviewer.client.EhUtils;
import edu.emory.mathcs.backport.java.util.Arrays;
import java.io.InputStream;
import java.util.List;
import okio.BufferedSource;
import okio.Okio;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.ParameterizedRobolectricTestRunner;
@RunWith(ParameterizedRobolectricTestRunner.class)
public class GalleryListParserTest {
private static final String MINIMAL = "GalleryListParserTestMinimal.html";
private static final String COMPAT = "GalleryListParserTestCompat.html";
private static final String EXTENDED = "GalleryListParserTestExtended.html";
private static final String THUMBNAIL = "GalleryListParserTestThumbnail.html";
@ParameterizedRobolectricTestRunner.Parameters(name = "{index}-{0}")
public static List data() {
return Arrays.asList(new Object[][] {
{ MINIMAL },
{ COMPAT },
{ EXTENDED },
{ THUMBNAIL },
});
}
private String file;
public GalleryListParserTest(String file) {
this.file = file;
}
@Test
public void testParse() throws Exception {
InputStream resource = GalleryPageApiParserTest.class.getResourceAsStream(file);
BufferedSource source = Okio.buffer(Okio.source(resource));
String body = source.readUtf8();
GalleryListParser.Result result = GalleryListParser.parse(body);
assertEquals(50, result.galleryInfoList.size());
result.galleryInfoList.forEach(gi -> {
assertNotEquals(0, gi.gid);
assertNotEquals(0, gi.token);
assertNotNull(gi.title);
//assertNotNull(gi.simpleTags);
assertNotEquals(0, gi.category);
assertNotEquals(EhUtils.UNKNOWN, gi.category);
assertNotEquals(0, gi.thumbWidth);
assertNotEquals(0, gi.thumbHeight);
assertNotNull(gi.thumb);
assertNotNull(gi.posted);
assertNotEquals(0.0, gi.rating);
if (MINIMAL.equals(file) || COMPAT.equals(file) || EXTENDED.equals(file)) {
assertNotNull(gi.uploader);
}
if (COMPAT.equals(file) || EXTENDED.equals(file)) {
assertNotEquals(0, gi.pages);
}
});
}
}
@@ -0,0 +1,27 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>ExHentai.org</title>
<link rel="stylesheet" type="text/css" href="https://exhentai.org/z/0340/x.css" />
</head>
<body>
<script type="text/javascript">
function popUp(URL,w,h) {
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
return false;
}
</script>
<div id="nb" class="nosel"><div><a class="nbw" href="https://exhentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://exhentai.org/watched">Watched</a></div><div><a href="https://exhentai.org/popular">Popular</a></div><div><a href="https://exhentai.org/torrents.php">Torrents</a></div><div><a href="https://exhentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://exhentai.org/uconfig.php">Settings</a></div><div><a href="https://exhentai.org/upload/manage.php"><span class="nbw2">My </span>Uploads</a></div><div><a href="https://exhentai.org/mytags">My Tags</a></div></div>
<div class="ido">
<div id="toppane">
<h1 class="ih">ExHentai.org - The X Makes It Sound Cool</h1><div id="searchbox" class="idi"><form action="https://exhentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="512" disabled="disabled" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://exhentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> &nbsp; &nbsp;<a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
<script type="text/javascript" src="https://exhentai.org/z/0340/ehg_index.c.js"></script>
<script type="text/javascript">
var ulhost = "https://exhentai.org/upload/";
var getrowurl = "https://exhentai.org/?page={?page?}";
</script>
</div><div style="position:relative; z-index:2"><p class="ip">Showing page 1 of 592,397 results</p><div id="dms"><div><select onchange="document.location='https://exhentai.org/?inline_set=dm_' + this.value"><option value="m">Minimal</option><option value="l" selected="selected">Compact</option><option value="e">Extended</option><option value="t">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd">&lt;</td><td class="ptds"><a href="https://exhentai.org/?from=1383595" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=2" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=3" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=4" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=5" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=6" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-11848)', 1); if(page != null) document.location='https://exhentai.org/?page='+Math.min(11847, Math.max(0, page - 1))+''">...</td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=11847" onclick="return false">11848</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1" onclick="return false">&gt;</a></td></tr></table><table class="itg glt"><tr><th></th><th>Published</th><th>Title</th><th class="glhide">Uploader</th></tr><tr><td class="gl1c glcat"><div class="cn ct6" onclick="document.location='https://exhentai.org/imageset'">Image Set</div></td><td class="gl2c"><div class="glthumb" id="i1383685" style="border:2px solid #0000FF;top:-1px;left:-120px;height:354px;width:250px"><img src="https://exhentai.org/t/4c/d2/4cd25d762b88198c488d505a34cb2d9788e9af00-3137024-2480-3508-png_250.jpg" alt="Artist - lihobuut (일호붓)" /></div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383685&amp;t=a02791a295&amp;act=addfav',675,415)" id="posted_1383685">2019-03-19 09:48</div><div class="ir" style="background-position:0px -21px;opacity:1"></div><div class="gldown"><a href="https://exhentai.org/gallerytorrents.php?gid=1383685&amp;t=a02791a295" onclick="return popUp('https://exhentai.org/gallerytorrents.php?gid=1383685&amp;t=a02791a295', 610, 590)" rel="nofollow"><img src="https://exhentai.org/img/t.png" alt="T" title="Show torrents" /></a></div></td><td class="gl3c glname" onmouseover="show_image_pane(1383685);preload_pane_image_delayed(0,1383685,1383678)" onmouseout="hide_image_pane(1383685);preload_pane_image_cancel()" onclick="return open_gallery(this,event,'https://exhentai.org/g/1383685/a02791a295/')"><div><a href="https://exhentai.org/g/1383685/a02791a295/">Artist - lihobuut (일호붓)</a></div><div><div class="gt" title="parody:girls frontline">girls frontline</div><div class="gt" title="female:big breasts">f:big breasts</div><div class="gt" title="female:leotard">f:leotard</div><div class="gt" title="female:military">f:military</div><div class="gt" title="female:stockings">f:stockings</div><div class="gt" title="female:swimsuit">f:swimsuit</div><div class="gt" title=":lihobuut">lihobuut</div></div></td><td class="gl4c glhide"><div><a href="https://exhentai.org/uploader/Assassin_">Assassin_</a></div><div>404 pages</div></td></tr><tr><td class="gl1c glcat"><div class="cn ct1" onclick="document.location='https://exhentai.org/misc'">Misc</div></td><td class="gl2c"><div class="glthumb" id="i1383678" style="border:2px solid #000000;top:-7px;left:-120px;height:360px;width:250px">inits~exhentai.org~t/e6/c8/e6c887198530269ec3defc3cc9266561e86de8cf-150593-1513-2173-jpg_250.jpg~Artist -CHS工作室-共享妻子 2019-3-16</div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383678&amp;t=e91b82c2b9&amp;act=addfav',675,415)" id="posted_1383678">2019-03-19 09:46</div><div class="ir" style="background-position:-32px -1px;opacity:0.46666666666667"></div><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></td><td class="gl3c glname" onmouseover="show_image_pane(1383678);preload_pane_image_delayed(1383685,1383678,1383664)" onmouseout="hide_image_pane(1383678);preload_pane_image_cancel()" onclick="return open_gallery(this,event,'https://exhentai.org/g/1383678/e91b82c2b9/')"><div><a href="https://exhentai.org/g/1383678/e91b82c2b9/">Artist -CHS工作室-共享妻子 2019-3-16</a></div><div><div class="gt" title=":3d">3d</div></div></td><td class="gl4c glhide"><div><a href="https://exhentai.org/uploader/cLine truncated
</body>
</html>
@@ -0,0 +1,27 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>ExHentai.org</title>
<link rel="stylesheet" type="text/css" href="https://exhentai.org/z/0340/x.css" />
</head>
<body>
<script type="text/javascript">
function popUp(URL,w,h) {
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
return false;
}
</script>
<div id="nb" class="nosel"><div><a class="nbw" href="https://exhentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://exhentai.org/watched">Watched</a></div><div><a href="https://exhentai.org/popular">Popular</a></div><div><a href="https://exhentai.org/torrents.php">Torrents</a></div><div><a href="https://exhentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://exhentai.org/uconfig.php">Settings</a></div><div><a href="https://exhentai.org/upload/manage.php"><span class="nbw2">My </span>Uploads</a></div><div><a href="https://exhentai.org/mytags">My Tags</a></div></div>
<div class="ido">
<div id="toppane">
<h1 class="ih">ExHentai.org - The X Makes It Sound Cool</h1><div id="searchbox" class="idi"><form action="https://exhentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="512" disabled="disabled" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://exhentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> &nbsp; &nbsp;<a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
<script type="text/javascript" src="https://exhentai.org/z/0340/ehg_index.c.js"></script>
<script type="text/javascript">
var ulhost = "https://exhentai.org/upload/";
var getrowurl = "https://exhentai.org/?page={?page?}";
</script>
</div><div style="position:relative; z-index:2"><p class="ip">Showing page 1 of 592,397 results</p><div id="dms"><div><select onchange="document.location='https://exhentai.org/?inline_set=dm_' + this.value"><option value="m">Minimal</option><option value="l">Compact</option><option value="e" selected="selected">Extended</option><option value="t">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd">&lt;</td><td class="ptds"><a href="https://exhentai.org/?from=1383595" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=2" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=3" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=4" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=5" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=6" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-11848)', 1); if(page != null) document.location='https://exhentai.org/?page='+Math.min(11847, Math.max(0, page - 1))+''">...</td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=11847" onclick="return false">11848</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1" onclick="return false">&gt;</a></td></tr></table><table class="itg glt"><tr><td class="gl1e" onclick="return open_gallery(this,event,'https://exhentai.org/g/1383685/a02791a295/')"><div style="height:340px;width:250px"><a href="https://exhentai.org/g/1383685/a02791a295/"><img style="height:354px;width:250px;top:-7px" src="https://exhentai.org/t/4c/d2/4cd25d762b88198c488d505a34cb2d9788e9af00-3137024-2480-3508-png_250.jpg" alt="Artist - lihobuut (일호붓)" /></a></div></td><td class="gl2e"><div><div class="gl3e"><div class="cn ct6" onclick="document.location='https://exhentai.org/imageset'">Image Set</div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383685&amp;t=a02791a295&amp;act=addfav',675,415)" id="posted_1383685">2019-03-19 09:48</div><div class="ir" style="background-position:0px -21px;opacity:1"></div><div><a href="https://exhentai.org/uploader/Assassin_">Assassin_</a></div><div>404 pages</div><div class="gldown"><a href="https://exhentai.org/gallerytorrents.php?gid=1383685&amp;t=a02791a295" onclick="return popUp('https://exhentai.org/gallerytorrents.php?gid=1383685&amp;t=a02791a295', 610, 590)" rel="nofollow"><img src="https://exhentai.org/img/t.png" alt="T" title="Show torrents" /></a></div></div><div class="gl4e glname" style="min-height:348px" onclick="return open_gallery(this,event,'https://exhentai.org/g/1383685/a02791a295/')"><div onclick="return open_gallery(this,event,'https://exhentai.org/g/1383685/a02791a295/')"><a href="https://exhentai.org/g/1383685/a02791a295/">Artist - lihobuut (일호붓)</a></div><div><table><tr><td class="tc">parody:</td><td><div class="gtl" title="parody:girls frontline">girls frontline</div></td><tr><td class="tc">female:</td><td><div class="gt" title="female:big breasts">big breasts</div><div class="gtl" title="female:leotard">leotard</div><div class="gtl" title="female:military">military</div><div class="gtl" title="female:stockings">stockings</div><div class="gtl" title="female:swimsuit">swimsuit</div></td><tr><td class="tc">misc:</td><td><div class="gtl" title=":lihobuut">lihobuut</div></td></table></div></div></div></td></tr><tr><td class="gl1e" onclick="return open_gallery(this,event,'https://exhentai.org/g/1383678/e91b82c2b9/')"><div style="height:340px;width:250px"><a href="https://exhentai.org/g/1383678/e91b82c2b9/"><img style="height:360px;width:250px;top:-10px" src="https://exhentai.org/t/e6/c8/e6c887198530269ec3defc3cc9266561e86de8cf-150593-1513-2173-jpg_250.jpg" alt="Artist -CHS工作室-共享妻子 2019-3-16" /></a></div></td><td class="gl2e"><div><div class="gl3e"><div class="cn ct1" onclick="document.location='https://exhentai.org/misc'">Misc</div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383678&amp;t=e91b82c2b9&amp;act=addfav',675,415)" id="posted_1383678">2019-03-19 09:46</div><div class="ir" style="background-position:-32px -1px;opacity:0.46666666666667"></div><div><a href="https://exhentai.org/uploader/cangyuewing">cangyuewing</a></div><div>569 pages</div><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></div><div class="gl4e glname" style="min-height:348px" onclick="return open_gallery(this,event,'https://exhentai.org/g/1383678/e91b82c2bLine truncated
</body>
</html>
@@ -0,0 +1,27 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>ExHentai.org</title>
<link rel="stylesheet" type="text/css" href="https://exhentai.org/z/0340/x.css" />
</head>
<body>
<script type="text/javascript">
function popUp(URL,w,h) {
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
return false;
}
</script>
<div id="nb" class="nosel"><div><a class="nbw" href="https://exhentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://exhentai.org/watched">Watched</a></div><div><a href="https://exhentai.org/popular">Popular</a></div><div><a href="https://exhentai.org/torrents.php">Torrents</a></div><div><a href="https://exhentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://exhentai.org/uconfig.php">Settings</a></div><div><a href="https://exhentai.org/upload/manage.php"><span class="nbw2">My </span>Uploads</a></div></div>
<div class="ido">
<div id="toppane">
<h1 class="ih">ExHentai.org - The X Makes It Sound Cool</h1><div id="searchbox" class="idi"><form action="https://exhentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="512" disabled="disabled" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://exhentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> &nbsp; &nbsp;<a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
<script type="text/javascript" src="https://exhentai.org/z/0340/ehg_index.c.js"></script>
<script type="text/javascript">
var ulhost = "https://exhentai.org/upload/";
var getrowurl = "https://exhentai.org/?page={?page?}";
</script>
</div><div style="position:relative; z-index:2"><p class="ip">Showing page 1 of 592,394 results</p><div id="dms"><div><select onchange="document.location='https://exhentai.org/?inline_set=dm_' + this.value"><option value="m" selected="selected">Minimal</option><option value="l">Compact</option><option value="e">Extended</option><option value="t">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd">&lt;</td><td class="ptds"><a href="https://exhentai.org/?from=1383591" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=2" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=3" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=4" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=5" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=6" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-11848)', 1); if(page != null) document.location='https://exhentai.org/?page='+Math.min(11847, Math.max(0, page - 1))+''">...</td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=11847" onclick="return false">11848</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1" onclick="return false">&gt;</a></td></tr></table><table class="itg glt"><tr><th></th><th>Published</th><th>Title</th><th></th><th class="glhide">Uploader</th></tr><tr><td class="gl1m glcat"><div class="cs ct6" onclick="document.location='https://exhentai.org/imageset'">Image Set</div></td><td class="gl2m"><div class="glthumb" id="i1383683" style="border:2px solid #0000FF;top:-1px;left:-89px;height:375px;width:229px"><img src="https://exhentai.org/t/3e/b9/3eb90038964bbe03403153d8990d87dd0b70d53e-1036532-1200-1971-jpg_250.jpg" alt="[Pixiv] ム菓ツク (163404)" /></div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383683&amp;t=3d7459e6f2&amp;act=addfav',675,415)" id="posted_1383683">2019-03-19 09:37</div><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></td><td class="gl3m glname" onmouseover="show_image_pane(1383683);preload_pane_image_delayed(0,1383683,1383645)" onmouseout="hide_image_pane(1383683);preload_pane_image_cancel()" onclick="return open_gallery(this,event,'https://exhentai.org/g/1383683/3d7459e6f2/')"><div><a href="https://exhentai.org/g/1383683/3d7459e6f2/">[Pixiv] ム菓ツク (163404)</a></div></td><td class="gl4m"><div class="ir" style="background-position:-16px -1px;opacity:1"></div></td><td class="gl5m glhide"><div><a href="https://exhentai.org/uploader/Assassin_">Assassin_</a></div></td></tr><tr><td class="gl1m glcat"><div class="cs ct9" onclick="document.location='https://exhentai.org/non-h'">Non-H</div></td><td class="gl2m"><div class="glthumb" id="i1383645" style="border:2px solid #16FFFC;top:-8px;left:-105px;height:375px;width:245px">inits~exhentai.org~t/9d/a0/9da0915d63af43b1158b941d958b23152da7cc59-551340-737-1130-jpg_250.jpg~[ぱげらった] ウチの妻は忘れっぽい [中国翻訳]</div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383645&amp;t=03d17831b0&amp;act=addfav',675,415)" id="posted_1383645">2019-03-19 09:33</div><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></td><td class="gl3m glname" onmouseover="show_image_pane(1383645);preload_pane_image_delayed(1383683,1383645,1383682)" onmouseout="hide_image_pane(1383645);preload_pane_image_cancel()" onclick="return open_gallery(this,event,'https://exhentai.org/g/1383645/03d17831b0/')"><div><a href="https://exhentai.org/g/1383645/03d17831b0/">[ぱげらった] ウチの妻は忘れっぽい [中国翻訳]</a></div></td><td class="gl4m"><div class="ir" style="background-position:0px -1px;opacity:0.73333333333333"></div></td><td class="gl5m glhide"><div><a href="https://exhentai.org/uploader/futarina">futarina</a></div></td></tr><tr><td class="gl1m glcat"><div class="cs ct6" onclick="document.location='https://exhentai.org/imageset'">Image Set</div></td><td class="gl2m"><div class="glthumb" id="i1383682" style="border:2px solid #0000FF;top:-14px;left:-110px;height:354px;width:250px">inits~exhentai.org~t/ea/7d/ea7d8fe0926e7ce65180f3b7afa8272b86625c2f-2183215-2480-3508-jpg_250.jpg~Artist - Cirenk</div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383682&amp;t=69d1bc7eaf&amp;act=addfav',675,415)" id="posted_1383682">2019-03-19 09:29</diLine truncated
</body>
</html>
@@ -0,0 +1,27 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>ExHentai.org</title>
<link rel="stylesheet" type="text/css" href="https://exhentai.org/z/0340/x.css" />
</head>
<body>
<script type="text/javascript">
function popUp(URL,w,h) {
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
return false;
}
</script>
<div id="nb" class="nosel"><div><a class="nbw" href="https://exhentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://exhentai.org/watched">Watched</a></div><div><a href="https://exhentai.org/popular">Popular</a></div><div><a href="https://exhentai.org/torrents.php">Torrents</a></div><div><a href="https://exhentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://exhentai.org/uconfig.php">Settings</a></div><div><a href="https://exhentai.org/upload/manage.php"><span class="nbw2">My </span>Uploads</a></div><div><a href="https://exhentai.org/mytags">My Tags</a></div></div>
<div class="ido" style="max-width:1370px">
<div id="toppane">
<h1 class="ih">ExHentai.org - The X Makes It Sound Cool</h1><div id="searchbox" class="idi"><form action="https://exhentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="512" disabled="disabled" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://exhentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> &nbsp; &nbsp;<a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
<script type="text/javascript" src="https://exhentai.org/z/0340/ehg_index.c.js"></script>
<script type="text/javascript">
var ulhost = "https://exhentai.org/upload/";
var getrowurl = "https://exhentai.org/?page={?page?}";
</script>
</div><div style="position:relative; z-index:2"><p class="ip">Showing page 1 of 592,397 results</p><div id="dms"><div><select onchange="document.location='https://exhentai.org/?inline_set=dm_' + this.value"><option value="m">Minimal</option><option value="l">Compact</option><option value="e">Extended</option><option value="t" selected="selected">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd">&lt;</td><td class="ptds"><a href="https://exhentai.org/?from=1383595" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=2" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=3" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=4" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=5" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=6" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-11848)', 1); if(page != null) document.location='https://exhentai.org/?page='+Math.min(11847, Math.max(0, page - 1))+''">...</td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=11847" onclick="return false">11848</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1" onclick="return false">&gt;</a></td></tr></table><div class="itg gld"><div class="gl1t"><div class="gl5t"><div class="cn ct6" onclick="document.location='https://exhentai.org/imageset'">Image Set</div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383685&amp;t=a02791a295&amp;act=addfav',675,415)" id="posted_1383685">2019-03-19 09:48</div><div class="ir" style="background-position:0px -21px;opacity:1"></div><div class="gldown"><a href="https://exhentai.org/gallerytorrents.php?gid=1383685&amp;t=a02791a295" onclick="return popUp('https://exhentai.org/gallerytorrents.php?gid=1383685&amp;t=a02791a295', 610, 590)" rel="nofollow"><img src="https://exhentai.org/img/t.png" alt="T" title="Show torrents" /></a></div></div><div class="gl3t" style="height:340px;width:250px"><a href="https://exhentai.org/g/1383685/a02791a295/"><img style="height:354px;width:250px;top:-7px" src="https://exhentai.org/t/4c/d2/4cd25d762b88198c488d505a34cb2d9788e9af00-3137024-2480-3508-png_250.jpg" alt="Artist - lihobuut (일호붓)" /></a></div><div class="gl4t glname"><a href="https://exhentai.org/g/1383685/a02791a295/">Artist - lihobuut (일호붓)</a></div><div class="gl6t">&nbsp;</div></div><div class="gl1t"><div class="gl5t"><div class="cn ct1" onclick="document.location='https://exhentai.org/misc'">Misc</div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383678&amp;t=e91b82c2b9&amp;act=addfav',675,415)" id="posted_1383678">2019-03-19 09:46</div><div class="ir" style="background-position:-32px -1px;opacity:0.46666666666667"></div><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></div><div class="gl3t" style="height:340px;width:250px"><a href="https://exhentai.org/g/1383678/e91b82c2b9/"><img style="height:360px;width:250px;top:-10px" src="https://exhentai.org/t/e6/c8/e6c887198530269ec3defc3cc9266561e86de8cf-150593-1513-2173-jpg_250.jpg" alt="Artist -CHS工作室-共享妻子 2019-3-16" /></a></div><div class="gl4t glname"><a href="https://exhentai.org/g/1383678/e91b82c2b9/">Artist -CHS工作室-共享妻子 2019-3-16</a></div><div class="gl6t">&nbsp;</div></div><div class="gl1t"><div class="gl5t"><div class="cn ct1" onclick="document.location='https://exhentai.org/misc'">Misc</div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383664&amp;t=596e57c0f6&amp;act=addfav',675,415)" id="posted_1383664">2019-03-19 09:46</div><div class="ir" style="background-position:-32px -1px;opacity:0.46666666666667"></div><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></div><div class="gl3t" style="height:340px;width:250px"><a href="https://exhentai.org/g/1383664/596e57c0f6/"><img style="height:357px;width:250px;top:-8px" src="https://exhentai.org/t/10/c2/10c23dff9d12784e33376ff09fdc6dc9c7fb9f02-433436-1514-2160-jpg_250.jpg" alt="Artist -CHS工作室 2019-3-16" /></a></div><div class="gl4t glname"><a href="https://exhentai.org/g/1383664/596e57c0f6/">Artist -CHS工作室 2019-3-16</a></div><div class="gl6t">&nbsp;</div></div><div class="gl1t"><div class="gl5t"><div class="cn ct6" onclick="document.location='https://exhentai.org/imageset'">Image Set</div><div class="glLine truncated
</body>
</html>
+1 -1
View File
@@ -8,7 +8,7 @@ buildscript {
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.1'
classpath 'com.android.tools.build:gradle:3.3.2'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'io.fabric.tools:gradle:1.27.1'