Show gallery ID

Fixed paging problem when tag searched
made gallery info clickable
This commit is contained in:
tom5079
2019-06-09 13:42:40 +09:00
parent 00a1b3e944
commit 3fc71b195a
8 changed files with 100 additions and 16 deletions

View File

@@ -80,7 +80,7 @@ fun getGalleryBlock(galleryID: Int) : GalleryBlock? {
val relatedTags = doc.select(".relatedtags a").map {
val href = URLDecoder.decode(it.attr("href"), "UTF-8")
href.slice(5 until href.indexOf('-'))
href.slice(5 until href.indexOf("-all"))
}
return GalleryBlock(galleryID, thumbnails, title, artists, series, type, language, relatedTags)