Additional to the last changes (#6883)

This commit is contained in:
Eugene 2021-05-07 18:03:15 +05:00 committed by GitHub
parent 8744b25170
commit be48545a67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View File

@ -16,7 +16,11 @@
<!-- LibMangaActivity sites can be added here. -->
<data
android:host="mangalib.me"
android:pathPattern="/..*/v..*/c..*/..*"
android:pathPattern="/..*/v..*"
android:scheme="https" />
<data
android:host="mangalib.org"
android:pathPattern="/..*/v..*"
android:scheme="https" />
</intent-filter>
</activity>

View File

@ -5,7 +5,7 @@ ext {
extName = 'MangaLib'
pkgNameSuffix = 'ru.libmanga'
extClass = '.LibManga'
extVersionCode = 40
extVersionCode = 41
libVersion = '1.2'
}

View File

@ -54,7 +54,7 @@ class LibManga : ConfigurableSource, HttpSource() {
override val client: OkHttpClient = network.cloudflareClient
//The mirror is used because the main site "mangalib.me" in application returns error 403
// The mirror is used because the main site "mangalib.me" in application returns error 403
override val baseUrl: String = "https://mangalib.org"
override fun headersBuilder() = Headers.Builder().apply {
@ -184,7 +184,7 @@ class LibManga : ConfigurableSource, HttpSource() {
else -> SManga.UNKNOWN
}
manga.genre = genres.plusElement(category).joinToString { it.trim() }
manga.description = document.select(".media-description__text").text()
manga.description = "Русское название: " + document.select(".media-name__main").text() + "\n\n" + document.select(".media-description__text").text()
return manga
}