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
This commit is contained in:
Saud-97 2022-06-04 19:43:01 +03:00 committed by GitHub
parent b839e33b94
commit 3ab69af58b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 4 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 61 KiB

View File

@ -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") }
}

View File

@ -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),