Compare commits

..
Author SHA1 Message Date
txyyh e1820617a9 Rel 1.7.31.0-alpha04
Releases / Build (push) Has been cancelled
2022-11-06 07:22:01 +00:00
tarsin 512e529b51 No gallery found no more a exception 2022-11-06 07:02:27 +00:00
tarsin 9b0766dd6e Fix favourite list load first 2022-11-06 07:02:27 +00:00
3 changed files with 6 additions and 6 deletions

No files matched your search

+2 -2
View File
@@ -35,8 +35,8 @@ android {
applicationId "moe.tarsin.ehviewer"
minSdkVersion 26
targetSdkVersion 33
versionCode 114538
versionName "1.7.31.0-alpha03"
versionCode 114539
versionName "1.7.31.0-alpha04"
resConfigs 'zh', 'zh-rCN', 'zh-rHK', 'zh-rTW', 'es', 'ja', 'ko', 'fr', 'de', 'th'
}
@@ -65,9 +65,9 @@ public class FavoritesParser {
try {
var d = Jsoup.parse(body);
var snv = d.getElementsByClass("searchnav").first();
assert snv != null;
var href = snv.child(3).child(0).attr("href");
var next = d.getElementById("unext");
assert next != null;
var href = next.attr("href");
var matcher = PATTERN_NEXT_PAGE.matcher(href);
if (matcher.find()) {
re.nextPage = matcher.group(1);
@@ -333,7 +333,7 @@ public class GalleryListParser {
}
if (list.isEmpty()) {
if (es.size() < 2 || !NO_UNFILTERED_TEXT.equals(es.get(1).text())) {
throw new ParseException("No gallery", body);
Log.d(TAG, "No gallery found");
}
}
result.galleryInfoList = list;