Initial commit

This commit is contained in:
FourTOne5
2024-01-09 04:12:39 +06:00
commit 600c345dfe
8593 changed files with 150590 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -0,0 +1,38 @@
package eu.kanade.tachiyomi.extension.tr.siyahmelek
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.source.model.SChapter
import eu.kanade.tachiyomi.source.model.SManga
import okhttp3.Response
import java.text.SimpleDateFormat
import java.util.Locale
class Siyahmelek : Madara("Gri Melek", "https://grimelek.net", "tr", SimpleDateFormat("dd MMM yyyy", Locale("tr"))) {
// Siyahmelek (tr) -> Gri Melek (tr)
override val id = 6419959498055001014
override val mangaSubString = "seri"
override val useNewChapterEndpoint = true
override fun searchPage(page: Int): String = if (page == 1) "" else "page/$page/"
// Skip fake image
// OK: <div class="page-break no-gaps">
// NG: <div style="display:none" class="page-break no-gaps">
override val pageListParseSelector = "div.page-break:not([style*=\"display:\"])"
override fun mangaDetailsParse(response: Response): SManga {
if (response.request.url.encodedPath == "/giris-yapiniz/") {
throw Exception("WebView'de oturum açarak erişin")
}
return super.mangaDetailsParse(response)
}
override fun chapterListParse(response: Response): List<SChapter> {
if (response.request.url.encodedPath == "/giris-yapiniz/") {
throw Exception("WebView'de oturum açarak erişin")
}
return super.chapterListParse(response)
}
}