MMRCMS - Add / Fix (#2347)

MMRCMS - Add / Fix
This commit is contained in:
happywillow0 2020-03-03 07:17:13 -05:00 committed by GitHub
parent b6ae4d6c8d
commit e0fbcc6ce0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 27 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: My Manga Reader CMS (Many sources)'
pkgNameSuffix = 'all.mmrcms'
extClass = '.MyMangaReaderCMSSources'
extVersionCode = 30
extVersionCode = 31
libVersion = '1.2'
}

File diff suppressed because one or more lines are too long

View File

@ -173,7 +173,7 @@ class Generator {
private fun parseCategories(document: Document): MutableList<Map<String, String>> {
val array = mutableListOf<Map<String, String>>()
val elements = document.select("select[name^=categories] option")
val elements = document.select("select[name^=categories] option, a.category")
if (elements.size == 0) {
return mutableListOf()
}
@ -234,6 +234,7 @@ class Generator {
Triple("en", "White Cloud Pavilion", "https://www.whitecloudpavilion.com/manga/free"),
Triple("fr", "Scan FR", "https://www.scan-fr.co"),
Triple("fr", "Scan VF", "https://www.scan-vf.net"),
Triple("fr", "Scan OP","https://scan-op.com"),
Triple("id", "Komikid", "https://www.komikid.com"),
Triple("pl", "ToraScans", "http://torascans.pl"),
Triple("pt", "Comic Space", "https://www.comicspace.com.br"),
@ -250,6 +251,7 @@ class Generator {
Triple("bg", "Utsukushii", "https://manga.utsukushii-bg.com"),
Triple("es", "Universo Yuri", "https://universoyuri.com"),
Triple("pl", "Phoenix-Scans", "https://phoenix-scans.pl"),
Triple("ru", "Japit Comics","https://j-comics.ru"),
//NOTE: THIS SOURCE CONTAINS A CUSTOM LANGUAGE SYSTEM (which will be ignored)!
Triple("other", "HentaiShark", "https://www.hentaishark.com"))
//Changed CMS