diff --git a/src/zh/haoman6/AndroidManifest.xml b/src/zh/haoman6/AndroidManifest.xml
new file mode 100644
index 000000000..30deb7f79
--- /dev/null
+++ b/src/zh/haoman6/AndroidManifest.xml
@@ -0,0 +1,2 @@
+
+
diff --git a/src/zh/haoman6/build.gradle b/src/zh/haoman6/build.gradle
new file mode 100644
index 000000000..48a40611b
--- /dev/null
+++ b/src/zh/haoman6/build.gradle
@@ -0,0 +1,11 @@
+apply plugin: 'com.android.application'
+apply plugin: 'kotlin-android'
+
+ext {
+ extName = 'Haoman6'
+ pkgNameSuffix = 'zh.haoman6'
+ extClass = '.Haoman6'
+ extVersionCode = 1
+}
+
+apply from: "$rootDir/common.gradle"
diff --git a/src/zh/haoman6/res/mipmap-hdpi/ic_launcher.png b/src/zh/haoman6/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 000000000..d97fa4e94
Binary files /dev/null and b/src/zh/haoman6/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/src/zh/haoman6/res/mipmap-mdpi/ic_launcher.png b/src/zh/haoman6/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 000000000..9b8be0868
Binary files /dev/null and b/src/zh/haoman6/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/src/zh/haoman6/res/mipmap-xhdpi/ic_launcher.png b/src/zh/haoman6/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 000000000..90144c659
Binary files /dev/null and b/src/zh/haoman6/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/src/zh/haoman6/res/mipmap-xxhdpi/ic_launcher.png b/src/zh/haoman6/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 000000000..c3a0b7da8
Binary files /dev/null and b/src/zh/haoman6/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/src/zh/haoman6/res/mipmap-xxxhdpi/ic_launcher.png b/src/zh/haoman6/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 000000000..81b7ef553
Binary files /dev/null and b/src/zh/haoman6/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/src/zh/haoman6/res/web_hi_res_512.png b/src/zh/haoman6/res/web_hi_res_512.png
new file mode 100644
index 000000000..30297065d
Binary files /dev/null and b/src/zh/haoman6/res/web_hi_res_512.png differ
diff --git a/src/zh/haoman6/src/eu/kanade/tachiyomi/extension/zh/haoman6/Haoman6.kt b/src/zh/haoman6/src/eu/kanade/tachiyomi/extension/zh/haoman6/Haoman6.kt
new file mode 100644
index 000000000..fdb608618
--- /dev/null
+++ b/src/zh/haoman6/src/eu/kanade/tachiyomi/extension/zh/haoman6/Haoman6.kt
@@ -0,0 +1,82 @@
+package eu.kanade.tachiyomi.extension.zh.haoman6
+
+import eu.kanade.tachiyomi.network.GET
+import eu.kanade.tachiyomi.source.model.FilterList
+import eu.kanade.tachiyomi.source.model.Page
+import eu.kanade.tachiyomi.source.model.SChapter
+import eu.kanade.tachiyomi.source.model.SManga
+import eu.kanade.tachiyomi.source.online.ParsedHttpSource
+import okhttp3.Request
+import okhttp3.Response
+import org.jsoup.nodes.Document
+import org.jsoup.nodes.Element
+
+class Haoman6 : ParsedHttpSource() {
+ override val name: String = "好漫6"
+ override val lang: String = "zh"
+ override val supportsLatest: Boolean = false
+ override val baseUrl: String = "https://www.haoman6.com"
+
+ // Popular
+
+ override fun popularMangaRequest(page: Int) = GET("$baseUrl/custom/hot", headers)
+ override fun popularMangaNextPageSelector(): String? = null
+ override fun popularMangaSelector(): String = "div.top-list__box > div.top-list__box-item"
+ override fun popularMangaFromElement(element: Element): SManga = SManga.create().apply {
+ title = element.select("p.comic__title > a").text()
+ setUrlWithoutDomain(element.select("p.comic__title > a").attr("abs:href"))
+ thumbnail_url = element.select("img").attr("abs:data-original")
+ }
+
+ // Latest
+
+ override fun latestUpdatesRequest(page: Int) = throw Exception("Not used")
+ override fun latestUpdatesNextPageSelector() = throw Exception("Not used")
+ override fun latestUpdatesSelector() = throw Exception("Not used")
+ override fun latestUpdatesFromElement(element: Element) = throw Exception("Not used")
+
+ // Search
+
+ override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
+ return GET("$baseUrl/search/$query/$page", headers)
+ }
+
+ override fun searchMangaNextPageSelector(): String? = "div#Pagination a.next"
+ override fun searchMangaSelector(): String = "div.common-comic-item"
+ override fun searchMangaFromElement(element: Element): SManga = SManga.create().apply {
+ title = element.select("p.comic__title > a").text()
+ setUrlWithoutDomain(element.select("p.comic__title > a").attr("abs:href"))
+ thumbnail_url = element.select("img").attr("abs:data-original")
+ }
+
+ // Details
+
+ override fun mangaDetailsParse(document: Document): SManga = SManga.create().apply {
+ title = document.select("div.de-info__box > p.comic-title").text()
+ thumbnail_url = document.select("div.de-info__cover > img").attr("abs:src")
+ author = document.select("div.comic-author > span.name > a").text()
+ artist = author
+ genre = document.select("div.comic-status > span.text:nth-child(1) a").eachText().joinToString(", ")
+ description = document.select("div.comic-intro > p.intro-total").text()
+ }
+
+ // Chapters
+
+ override fun chapterListSelector(): String = "ul.chapter__list-box > li"
+ override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply {
+ setUrlWithoutDomain(element.select("a").attr("abs:href"))
+ name = element.select("a").text()
+ }
+ override fun chapterListParse(response: Response): List {
+ return super.chapterListParse(response).reversed()
+ }
+
+ // Pages
+
+ override fun pageListParse(document: Document): List {
+ return document.select("div.rd-article__pic > img.lazy-read")
+ .mapIndexed { i, el -> Page(i, "", el.attr("abs:echo-pc")) }
+ }
+
+ override fun imageUrlParse(document: Document): String = throw Exception("Not Used")
+}