Fix thumb url parsing

This commit is contained in:
seven332 committed 2016-03-23 12:56:47 +08:00
1 parent 53f8cc4488
commit 4fa6a1f544
2 files changed
+2 -2

No files matched your search

@@ -125,7 +125,7 @@ public class GalleryListParser {
} else {
String html = it2.html();
int index1 = html.indexOf('~');
int index2 = html.lastIndexOf('~');
int index2 = StringUtils.ordinalIndexOf(html, '~', 2);
if (index1 < index2) {
gi.thumb = "http://" +StringUtils.replace(html.substring(index1 + 1, index2), "~", "/");
} else {