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. --> <!-- LibMangaActivity sites can be added here. -->
<data <data
android:host="mangalib.me" 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" /> android:scheme="https" />
</intent-filter> </intent-filter>
</activity> </activity>

View File

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

View File

@ -184,7 +184,7 @@ class LibManga : ConfigurableSource, HttpSource() {
else -> SManga.UNKNOWN else -> SManga.UNKNOWN
} }
manga.genre = genres.plusElement(category).joinToString { it.trim() } 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 return manga
} }