From ceb22277dbd0fcc9ba6b1c15a63e489b9ccb5c9c Mon Sep 17 00:00:00 2001 From: whyimdoingthis <75690739+whyimdoingthis@users.noreply.github.com> Date: Fri, 11 Dec 2020 04:37:28 +0600 Subject: [PATCH] Manhwas Men support (#5061) * Add Manhwas Men site to the mmrcms Generator * Add Manhwas Men data to the GeneratedSources * bump mmrcms version after adding manhwas men --- src/all/mmrcms/build.gradle | 2 +- .../kanade/tachiyomi/extension/all/mmrcms/GeneratedSources.kt | 4 +++- .../src/eu/kanade/tachiyomi/extension/all/mmrcms/Generator.kt | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/all/mmrcms/build.gradle b/src/all/mmrcms/build.gradle index bfe419d43..5bdfed800 100644 --- a/src/all/mmrcms/build.gradle +++ b/src/all/mmrcms/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'My Manga Reader CMS (Many sources)' pkgNameSuffix = 'all.mmrcms' extClass = '.MyMangaReaderCMSSources' - extVersionCode = 52 + extVersionCode = 53 libVersion = '1.2' containsNsfw = true } diff --git a/src/all/mmrcms/src/eu/kanade/tachiyomi/extension/all/mmrcms/GeneratedSources.kt b/src/all/mmrcms/src/eu/kanade/tachiyomi/extension/all/mmrcms/GeneratedSources.kt index 8a6ca5ee0..8d344e662 100644 --- a/src/all/mmrcms/src/eu/kanade/tachiyomi/extension/all/mmrcms/GeneratedSources.kt +++ b/src/all/mmrcms/src/eu/kanade/tachiyomi/extension/all/mmrcms/GeneratedSources.kt @@ -85,4 +85,6 @@ private const val MMRSOURCE_40 = """{"language":"fr","name":"FR Scan","base_url":"https://www.frscan.me","supports_latest":true,"isNsfw":false,"item_url":"https://www.frscan.me/manga/","categories":[{"id":"1","name":"Action"},{"id":"2","name":"Adventure"},{"id":"3","name":"Comedy"},{"id":"4","name":"Doujinshi"},{"id":"5","name":"Drama"},{"id":"6","name":"Ecchi"},{"id":"7","name":"Fantasy"},{"id":"8","name":"Gender Bender"},{"id":"9","name":"Harem"},{"id":"10","name":"Historical"},{"id":"11","name":"Horror"},{"id":"12","name":"Josei"},{"id":"13","name":"Martial Arts"},{"id":"14","name":"Mature"},{"id":"15","name":"Mecha"},{"id":"16","name":"Mystery"},{"id":"17","name":"One Shot"},{"id":"18","name":"Psychological"},{"id":"19","name":"Romance"},{"id":"20","name":"Vie Scolaire"},{"id":"21","name":"Sci-fi"},{"id":"22","name":"Seinen"},{"id":"23","name":"Shoujo"},{"id":"24","name":"Shoujo Ai"},{"id":"25","name":"Shounen"},{"id":"26","name":"Shounen Ai"},{"id":"27","name":"Tranche de vie"},{"id":"28","name":"Sports"},{"id":"29","name":"Supernatural"},{"id":"30","name":"Tragedie"},{"id":"31","name":"Yaoi"},{"id":"32","name":"Yuri"},{"id":"33","name":"Autre"},{"id":"34","name":"BD Occidentale"},{"id":"35","name":"Webtoon"}],"tags":"null"}""" private const val MMRSOURCE_41 = """{"language":"other","name":"HentaiShark","base_url":"https://www.hentaishark.com","supports_latest":true,"isNsfw":true,"item_url":"https://www.hentaishark.com/manga/","categories":[{"id":"1","name":"Doujinshi"},{"id":"2","name":"Manga"},{"id":"3","name":"Western"},{"id":"4","name":"non-h"},{"id":"5","name":"imageset"},{"id":"6","name":"artistcg"},{"id":"7","name":"misc"}],"tags":"null"}""" -val SOURCES: List get() = listOf(MMRSOURCE_1, MMRSOURCE_2, MMRSOURCE_3, MMRSOURCE_4, MMRSOURCE_5, MMRSOURCE_6, MMRSOURCE_7, MMRSOURCE_8, MMRSOURCE_9, MMRSOURCE_10, MMRSOURCE_11, MMRSOURCE_12, MMRSOURCE_13, MMRSOURCE_14, MMRSOURCE_15, MMRSOURCE_16, MMRSOURCE_17, MMRSOURCE_18, MMRSOURCE_19, MMRSOURCE_20, MMRSOURCE_21, MMRSOURCE_22, MMRSOURCE_23, MMRSOURCE_24, MMRSOURCE_25, MMRSOURCE_26, MMRSOURCE_27, MMRSOURCE_28, MMRSOURCE_29, MMRSOURCE_30, MMRSOURCE_31, MMRSOURCE_32, MMRSOURCE_33, MMRSOURCE_34, MMRSOURCE_35, MMRSOURCE_36, MMRSOURCE_37, MMRSOURCE_38, MMRSOURCE_39, MMRSOURCE_40, MMRSOURCE_41) +private const val MMRSOURCE_42 = + """{"base_url":"https://manhwas.men","categories":[{"id":"0","name":"Action"},{"id":"1","name":"Adventure"},{"id":"2","name":"Comedy"},{"id":"3","name":"Doujinshi"},{"id":"4","name":"Drama"},{"id":"5","name":"Ecchi"},{"id":"6","name":"Fantasy"},{"id":"7","name":"Gender Bender"},{"id":"8","name":"Harem"},{"id":"9","name":"Historical"},{"id":"10","name":"Horror"},{"id":"11","name":"Josei"},{"id":"12","name":"Martial Arts"},{"id":"13","name":"Mature"},{"id":"14","name":"Mecha"},{"id":"15","name":"Mystery"},{"id":"16","name":"One Shot"},{"id":"17","name":"Psychological"},{"id":"18","name":"Romance"},{"id":"19","name":"School Life"},{"id":"20","name":"Sci-fi"},{"id":"21","name":"Seinen"},{"id":"22","name":"Shoujo"},{"id":"23","name":"Shoujo Ai"},{"id":"24","name":"Shounen"},{"id":"25","name":"Shounen Ai"},{"id":"26","name":"Slice of Life"},{"id":"27","name":"Sports"},{"id":"28","name":"Supernatural"},{"id":"29","name":"Tragedy"},{"id":"30","name":"Yaoi"}],"isNsfw":false,"item_url":"https://manhwas.men/manga/","language":"en","name":"Manhwas Men","supports_latest":true,"tags":"null"}""" +val SOURCES: List get() = listOf(MMRSOURCE_1, MMRSOURCE_2, MMRSOURCE_3, MMRSOURCE_4, MMRSOURCE_5, MMRSOURCE_6, MMRSOURCE_7, MMRSOURCE_8, MMRSOURCE_9, MMRSOURCE_10, MMRSOURCE_11, MMRSOURCE_12, MMRSOURCE_13, MMRSOURCE_14, MMRSOURCE_15, MMRSOURCE_16, MMRSOURCE_17, MMRSOURCE_18, MMRSOURCE_19, MMRSOURCE_20, MMRSOURCE_21, MMRSOURCE_22, MMRSOURCE_23, MMRSOURCE_24, MMRSOURCE_25, MMRSOURCE_26, MMRSOURCE_27, MMRSOURCE_28, MMRSOURCE_29, MMRSOURCE_30, MMRSOURCE_31, MMRSOURCE_32, MMRSOURCE_33, MMRSOURCE_34, MMRSOURCE_35, MMRSOURCE_36, MMRSOURCE_37, MMRSOURCE_38, MMRSOURCE_39, MMRSOURCE_40, MMRSOURCE_41, MMRSOURCE_42) diff --git a/src/all/mmrcms/src/eu/kanade/tachiyomi/extension/all/mmrcms/Generator.kt b/src/all/mmrcms/src/eu/kanade/tachiyomi/extension/all/mmrcms/Generator.kt index e4f010d52..3820eb3a0 100644 --- a/src/all/mmrcms/src/eu/kanade/tachiyomi/extension/all/mmrcms/Generator.kt +++ b/src/all/mmrcms/src/eu/kanade/tachiyomi/extension/all/mmrcms/Generator.kt @@ -237,6 +237,7 @@ class Generator { SourceData("en", "Read Comics Online", "https://readcomicsonline.ru"), SourceData("en", "Biamam Scans", "https://biamam.com"), SourceData("en", "Fallen Angels", "https://manga.fascans.com"), + SourceData("en", "Manhwas Men", "https://manhwas.men"), SourceData("en", "White Cloud Pavilion", "https://www.whitecloudpavilion.com/manga/free"), SourceData("fr", "Scan FR", "https://www.scan-fr.co"), SourceData("fr", "Scan VF", "https://www.scan-vf.net"),