Additional to the last changes (#6883)
This commit is contained in:
parent
8744b25170
commit
be48545a67
@ -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>
|
||||
|
@ -5,7 +5,7 @@ ext {
|
||||
extName = 'MangaLib'
|
||||
pkgNameSuffix = 'ru.libmanga'
|
||||
extClass = '.LibManga'
|
||||
extVersionCode = 40
|
||||
extVersionCode = 41
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user