* 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:
@ -5,7 +5,7 @@ ext {
|
||||
extName = 'Paprika'
|
||||
pkgNameSuffix = 'all.paprika'
|
||||
extClass = '.PaprikaFactory'
|
||||
extVersionCode = 6
|
||||
extVersionCode = 7
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
@ -21,13 +21,13 @@ abstract class PaprikaAlt(
|
||||
override fun popularMangaFromElement(element: Element): SManga {
|
||||
// Log.d("Paprika", "processing popular element")
|
||||
return SManga.create().apply {
|
||||
element.select("a:has(h2)").let {
|
||||
element.select("a:has(h3)").let {
|
||||
setUrlWithoutDomain(it.attr("href"))
|
||||
title = it.text()
|
||||
// Log.d("Paprika", "manga url: $url")
|
||||
// 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")
|
||||
}
|
||||
}
|
||||
@ -56,7 +56,7 @@ abstract class PaprikaAlt(
|
||||
it.text().apply {
|
||||
when {
|
||||
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("Status") -> status = this.substringAfter(":").trim().toStatus()
|
||||
}
|
||||
|
@ -8,10 +8,11 @@ class PaprikaFactory : SourceFactory {
|
||||
MangazukiXyz(),
|
||||
MangaTensei(),
|
||||
MangaNelo(),
|
||||
MangaWindowClub(),
|
||||
// MangaWindowClub(),
|
||||
MangaDogs(),
|
||||
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 MangaTensei : Paprika("MangaTensei", "https://www.mangatensei.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 MangaReader : PaprikaAlt("MangaReader.cc", "http://mangareader.cc/", "en")
|
||||
|
Reference in New Issue
Block a user