diff --git a/src/en/mangarock/build.gradle b/src/en/mangarock/build.gradle index f69793e64..d5b1fb855 100644 --- a/src/en/mangarock/build.gradle +++ b/src/en/mangarock/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: Manga Rock' pkgNameSuffix = 'en.mangarock' extClass = '.MangaRock' - extVersionCode = 4 + extVersionCode = 5 libVersion = '1.0' } diff --git a/src/en/mangarock/src/eu/kanade/tachiyomi/extension/en/mangarock/MangaRock.kt b/src/en/mangarock/src/eu/kanade/tachiyomi/extension/en/mangarock/MangaRock.kt index 7152690c6..42217c89e 100644 --- a/src/en/mangarock/src/eu/kanade/tachiyomi/extension/en/mangarock/MangaRock.kt +++ b/src/en/mangarock/src/eu/kanade/tachiyomi/extension/en/mangarock/MangaRock.kt @@ -276,8 +276,8 @@ class MangaRock : HttpSource() { GenreList(getGenreList()) ) - // [... new Set($$('a[href^="/genre"]').filter(a => a.innerText !== '').map(a => `Genre("${a.innerText}", "${a.href.replace('https://mangarock.com/genre/', '')}")`))].sort().join(',\n') - // on https://mangarock.com/ + // [...document.querySelectorAll('._2DMqI .mdl-checkbox')].map(n => `Genre("${n.querySelector('.mdl-checkbox__label').innerText}", "${n.querySelector('input').dataset.oid}")`).sort().join(',\n') + // on https://mangarock.com/manga private fun getGenreList() = listOf( Genre("4-koma", "mrs-genre-100117675"), Genre("Action", "mrs-genre-304068"), @@ -293,6 +293,7 @@ class MangaRock : HttpSource() { Genre("Harem", "mrs-genre-304075"), Genre("Historical", "mrs-genre-304306"), Genre("Horror", "mrs-genre-304259"), + Genre("Isekai", "mrs-genre-100291868"), Genre("Josei", "mrs-genre-304070"), Genre("Kids", "mrs-genre-304846"), Genre("Magic", "mrs-genre-304090"),