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: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 KiB

View File

@@ -0,0 +1,40 @@
package eu.kanade.tachiyomi.extension.ar.potatomanga
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import eu.kanade.tachiyomi.source.model.SManga
import okhttp3.Request
import java.text.SimpleDateFormat
import java.util.Locale
class PotatoManga : MangaThemesia(
"PotatoManga",
"https://potatomanga.xyz",
"ar",
mangaUrlDirectory = "/series",
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("ar")),
) {
override val seriesArtistSelector =
".infotable tr:contains(الرسام) td:last-child, ${super.seriesArtistSelector}"
override val seriesAuthorSelector =
".infotable tr:contains(المؤلف) td:last-child, ${super.seriesAuthorSelector}"
override val seriesStatusSelector =
".infotable tr:contains(الحالة) td:last-child, ${super.seriesStatusSelector}"
override val seriesTypeSelector =
".infotable tr:contains(النوع) td:last-child, ${super.seriesTypeSelector}"
override val seriesAltNameSelector =
".infotable tr:contains(الأسماء الثانوية) td:last-child, ${super.seriesAltNameSelector}"
override fun mangaDetailsRequest(manga: SManga): Request {
if (manga.url.startsWith("/manga")) {
manga.url.replaceFirst("/manga", mangaUrlDirectory)
}
return super.mangaDetailsRequest(manga)
}
override fun chapterListRequest(manga: SManga): Request {
if (manga.url.startsWith("/manga")) {
manga.url.replaceFirst("/manga", mangaUrlDirectory)
}
return super.chapterListRequest(manga)
}
}