diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/MadaraParser.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/MadaraParser.kt index 6e63834f..c469188b 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/MadaraParser.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/MadaraParser.kt @@ -297,7 +297,12 @@ internal abstract class MadaraParser( class MangaWeebs(context: MangaLoaderContext) : MadaraParser(context, MangaSource.MANGAWEEBS, "mangaweebs.in") @MangaSourceParser("KINGMANGA", "KingManga", "en") - class KingManga(context: MangaLoaderContext) : MadaraParser(context, MangaSource.KINGMANGA, "king-manga.com") + class KingManga(context: MangaLoaderContext) : MadaraParser(context, MangaSource.KINGMANGA, "king-manga.com") { + + override fun getFaviconUrl(): String { + return "https://${getDomain()}/wp-content/uploads/2022/05/cropped-logo-king-02-03-32x32.png" + } + } @MangaSourceParser("MANGAHATACHI", "MangahaTachi", "ja") class MangahaTachi(context: MangaLoaderContext) : @@ -330,7 +335,12 @@ internal abstract class MadaraParser( class MangaTxOt(context: MangaLoaderContext) : MadaraParser(context, MangaSource.MANGATX_OT, "manga-tx.com") @MangaSourceParser("MANGALEK", "MangaLek", "ar") - class MangaLek(context: MangaLoaderContext) : MadaraParser(context, MangaSource.MANGALEK, "mangalek.com") + class MangaLek(context: MangaLoaderContext) : MadaraParser(context, MangaSource.MANGALEK, "mangalek.com") { + + override fun getFaviconUrl(): String { + return "https://${getDomain()}/wp-content/logo192.png" + } + } @MangaSourceParser("HARIMANGA", "HariManga", "en") class HariManga(context: MangaLoaderContext) : MadaraParser(context, MangaSource.HARIMANGA, "harimanga.com") diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/grouple/MintMangaParser.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/grouple/MintMangaParser.kt index 379143aa..ecce1f71 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/grouple/MintMangaParser.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/grouple/MintMangaParser.kt @@ -14,4 +14,8 @@ internal class MintMangaParser( "mintmanga.live", arrayOf("mintmanga.live", "mintmanga.com"), ) + + override fun getFaviconUrl(): String { + return "https://resmm.rmr.rocks/static/apple-touch-icon-8fff291039c140493adb0c7ba81065ad.png" + } } \ No newline at end of file diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/grouple/ReadmangaParser.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/grouple/ReadmangaParser.kt index bd7fa65f..39c0380c 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/grouple/ReadmangaParser.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/grouple/ReadmangaParser.kt @@ -14,4 +14,8 @@ internal class ReadmangaParser( "readmanga.io", arrayOf("readmanga.io", "readmanga.live", "readmanga.me"), ) + + override fun getFaviconUrl(): String { + return "https://resrm.rmr.rocks/static/apple-touch-icon-3162037c9df9f28dca0f9a4092cb0f65.png" + } } \ No newline at end of file diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/grouple/SelfMangaParser.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/grouple/SelfMangaParser.kt index ca4fa65b..3591eb71 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/site/grouple/SelfMangaParser.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/site/grouple/SelfMangaParser.kt @@ -11,4 +11,8 @@ internal class SelfMangaParser( ) : GroupleParser(MangaSource.SELFMANGA, "selfmangafun", 3) { override val configKeyDomain = ConfigKey.Domain("selfmanga.live", null) + + override fun getFaviconUrl(): String { + return "https://ressm.rmr.rocks/static/apple-touch-icon-a769ea533d811b73ac3eedde658bb1d3.png" + } } \ No newline at end of file