* Adapted file to mangareader.cc

* Removed MangaWindow.Club because is no more available.
Addedo MangaReader.cc

* Version code Change

* Updating Mangafast ic_launcher

* Fix #5060
This commit is contained in:
antonycaporossi 2020-12-09 14:00:13 +01:00 committed by GitHub
parent de46f2e79b
commit 27118d8c2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 11 additions and 9 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Paprika' extName = 'Paprika'
pkgNameSuffix = 'all.paprika' pkgNameSuffix = 'all.paprika'
extClass = '.PaprikaFactory' extClass = '.PaprikaFactory'
extVersionCode = 6 extVersionCode = 7
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -21,13 +21,13 @@ abstract class PaprikaAlt(
override fun popularMangaFromElement(element: Element): SManga { override fun popularMangaFromElement(element: Element): SManga {
// Log.d("Paprika", "processing popular element") // Log.d("Paprika", "processing popular element")
return SManga.create().apply { return SManga.create().apply {
element.select("a:has(h2)").let { element.select("a:has(h3)").let {
setUrlWithoutDomain(it.attr("href")) setUrlWithoutDomain(it.attr("href"))
title = it.text() title = it.text()
// Log.d("Paprika", "manga url: $url") // Log.d("Paprika", "manga url: $url")
// Log.d("Paprika", "manga title: $title") // Log.d("Paprika", "manga title: $title")
} }
thumbnail_url = element.select("img").attr("abs:src") thumbnail_url = element.select("img").attr("src")
// Log.d("Paprika", "manga thumb: $thumbnail_url") // Log.d("Paprika", "manga thumb: $thumbnail_url")
} }
} }
@ -56,7 +56,7 @@ abstract class PaprikaAlt(
it.text().apply { it.text().apply {
when { when {
this.startsWith("Author") -> author = this.substringAfter(":").trim() this.startsWith("Author") -> author = this.substringAfter(":").trim()
this.startsWith("Artist") -> artist = this.substringAfter(":").trim() this.startsWith("Artist") -> artist = this.substringAfter(":").trim().replace(";", ",")
this.startsWith("Genre") -> genre = this.substringAfter(":").trim().replace(";", ",") this.startsWith("Genre") -> genre = this.substringAfter(":").trim().replace(";", ",")
this.startsWith("Status") -> status = this.substringAfter(":").trim().toStatus() this.startsWith("Status") -> status = this.substringAfter(":").trim().toStatus()
} }

View File

@ -8,10 +8,11 @@ class PaprikaFactory : SourceFactory {
MangazukiXyz(), MangazukiXyz(),
MangaTensei(), MangaTensei(),
MangaNelo(), MangaNelo(),
MangaWindowClub(), // MangaWindowClub(),
MangaDogs(), MangaDogs(),
ReadMangaFox(), ReadMangaFox(),
MangaStreamXyz() MangaStreamXyz(),
MangaReader()
) )
} }
@ -20,5 +21,6 @@ class ReadMangaFox : Paprika("ReadMangaFox", "http://readmangafox.xyz", "en")
class MangazukiXyz : Paprika("MangaZuki.xyz", "http://mangazuki.xyz", "en") class MangazukiXyz : Paprika("MangaZuki.xyz", "http://mangazuki.xyz", "en")
class MangaTensei : Paprika("MangaTensei", "https://www.mangatensei.com", "en") class MangaTensei : Paprika("MangaTensei", "https://www.mangatensei.com", "en")
class MangaNelo : Paprika("MangaNelos.com", "http://manganelos.com", "en") class MangaNelo : Paprika("MangaNelos.com", "http://manganelos.com", "en")
class MangaWindowClub : PaprikaAlt("MangaWindow.club", "https://mangawindow.club", "en") // class MangaWindowClub : PaprikaAlt("MangaWindow.club", "https://mangawindow.club", "en")
class MangaDogs : Paprika("MangaDogs.fun", "http://mangadogs.fun", "en") class MangaDogs : Paprika("MangaDogs.fun", "http://mangadogs.fun", "en")
class MangaReader : PaprikaAlt("MangaReader.cc", "http://mangareader.cc/", "en")

View File

@ -5,7 +5,7 @@ ext {
extName = 'MangaFast' extName = 'MangaFast'
pkgNameSuffix = 'en.mangafast' pkgNameSuffix = 'en.mangafast'
extClass = '.MangaFast' extClass = '.MangaFast'
extVersionCode = 3 extVersionCode = 4
libVersion = '1.2' libVersion = '1.2'
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 73 KiB

View File

@ -40,7 +40,7 @@ class MangaFast : ParsedHttpSource() {
override fun latestUpdatesFromElement(element: Element) = SManga.create().apply { override fun latestUpdatesFromElement(element: Element) = SManga.create().apply {
setUrlWithoutDomain(element.select("a").attr("href")) setUrlWithoutDomain(element.select("a").attr("href"))
title = element.select("h3").text().trim() title = element.select("h3").text().trim()
thumbnail_url = element.select("img").attr("abs:data-src") thumbnail_url = element.select("img").attr("abs:data-src").substringBeforeLast("resize")
} }
override fun latestUpdatesNextPageSelector() = "a.next" override fun latestUpdatesNextPageSelector() = "a.next"