Timelessleaf add manga description (#5136)

Timelessleaf add manga description
This commit is contained in:
Riztard Lanthorn 2020-12-16 01:51:20 +07:00 committed by GitHub
parent 37c5fd630a
commit 81f9eede50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'TimelessLeaf'
pkgNameSuffix = 'en.timelessleaf'
extClass = '.TimelessLeaf'
extVersionCode = 3
extVersionCode = 4
libVersion = '1.2'
}

View File

@ -89,6 +89,8 @@ class TimelessLeaf : HttpSource() {
thumbnail_url = document.select(".site-main img").attr("srcset").substringBefore(" ")
if (thumbnail_url == "")
thumbnail_url = document.select(".site-main img").attr("abs:src")
description = document.select(".page-content p:not(:has(a)):not(:contains(chapter)):not(:has(strong))")
.text().substringAfter("Summary: ")
}
}