Remove PotatoManga (#3243)

This commit is contained in:
Smol Ame 2024-05-26 02:28:11 -07:00 committed by Draff
parent be2daf0c4a
commit 29b2b23a86
7 changed files with 0 additions and 49 deletions

View File

@ -1,9 +0,0 @@
ext {
extName = 'PotatoManga'
extClass = '.PotatoManga'
themePkg = 'mangathemesia'
baseUrl = 'https://ar.potatomanga.xyz'
overrideVersionCode = 2
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

View File

@ -1,40 +0,0 @@
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://ar.potatomanga.xyz",
"ar",
mangaUrlDirectory = "/manga",
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)
}
}