Fix parse

This commit is contained in:
seven332 committed 2015-03-22 03:59:05 +08:00
1 parent 245bdc14ce
commit 9cb7d20dfc
3 files changed
+12 -4

No files matched your search

+2 -2
View File
@@ -8,8 +8,8 @@ android {
applicationId "com.hippo.ehviewer"
minSdkVersion 14
targetSdkVersion 22
versionCode 36
versionName "0.6.12"
versionCode 38
versionName "0.6.13.1"
}
buildTypes {
debug {
@@ -140,8 +140,8 @@ public class DetailParser {
//+ "<tr><td[^<>]*>Resized:</td><td[^<>]*>([^<>]+)</td></tr>" // resized
+ "<tr><td[^<>]*>Parent:</td><td[^<>]*>(?:<a[^<>]*>)?([^<>]+)(?:</a>)?</td></tr>" // parent
+ "<tr><td[^<>]*>Visible:</td><td[^<>]*>([^<>]+)</td></tr>" // visible
+ "<tr><td[^<>]*>Language:</td><td[^<>]*>([^<>]+)</td></tr>" // language
+ "<tr><td[^<>]*>File Size:</td><td[^<>]*>([^<>]+)<span[^<>]*>([^<>]+)</span></td></tr>" // File size and resize
+ "<tr><td[^<>]*>Language:</td><td[^<>]*>([^<>]+)(?:<span[^<>]*>[^<>]*</span>)?</td></tr>" // language
+ "<tr><td[^<>]*>File Size:</td><td[^<>]*>([^<>]+)(?:<span[^<>]*>([^<>]+)</span>)?</td></tr>" // File size and resize
+ "<tr><td[^<>]*>Length:</td><td[^<>]*>([\\d|,]+) pages</td></tr>" // pages
+ "<tr><td[^<>]*>Favorited:</td><[^<>]*>([^<>]+)</td></tr>" // Favorite times ([\d|,]+) times or Never
+ ".+"
+8
View File
@@ -1,3 +1,11 @@
Version 0.6.13.1 (2014-3-22)
* 再次修正解析错误
Version 0.6.13 (2014-3-22)
* 修正解析错误
* 修正图标解析度错误
* 调整缓存机制
Version 0.6.12 (2014-3-9)
* 添加通过 WebView 登录