Manga Pro Z -> Manga Pro (#12028)
* Manga Pro Z renamed and new icon * Removed the code that was unnecessarily removing the "free" keyword from chapter names
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 61 KiB |
|
@ -7,7 +7,9 @@ import okhttp3.OkHttpClient
|
|||
import org.jsoup.nodes.Element
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class MangaProZ : WPMangaStream("Manga Pro Z", "https://mangaprotm.com", "ar") {
|
||||
class MangaPro : WPMangaStream("Manga Pro", "https://mangaprotm.com", "ar") {
|
||||
override val id: Long = 964048798769065340
|
||||
|
||||
private val rateLimitInterceptor = RateLimitInterceptor(4)
|
||||
|
||||
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
|
||||
|
@ -16,5 +18,4 @@ class MangaProZ : WPMangaStream("Manga Pro Z", "https://mangaprotm.com", "ar") {
|
|||
.addNetworkInterceptor(rateLimitInterceptor)
|
||||
.build()
|
||||
|
||||
override fun chapterFromElement(element: Element): SChapter = super.chapterFromElement(element).apply { name = name.removeSuffix(" free") }
|
||||
}
|
|
@ -26,7 +26,7 @@ class WPMangaStreamGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Komik Station", "https://komikstation.co", "id", overrideVersionCode = 3),
|
||||
SingleLang("KomikIndo.co", "https://komikindo.co", "id", className = "KomikindoCo", overrideVersionCode = 3),
|
||||
SingleLang("Kuma Scans (Kuma Translation)", "https://kumascans.com", "en", className = "KumaScans", overrideVersionCode = 1),
|
||||
SingleLang("Manga Pro Z", "https://mangaprotm.com", "ar", overrideVersionCode = 1),
|
||||
SingleLang("Manga Pro", "https://mangaprotm.com", "ar", pkgName = "mangaproz", overrideVersionCode = 2),
|
||||
SingleLang("Manga Raw.org", "https://mangaraw.org", "ja", className = "MangaRawOrg", overrideVersionCode = 1),
|
||||
SingleLang("Manhwax", "https://manhwax.com", "en", isNsfw = true),
|
||||
SingleLang("MangaSwat", "https://swatmanga.co", "ar", overrideVersionCode = 6),
|
||||
|
|