* 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
|
@ -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")
|
||||
|
|
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'MangaFast'
|
||||
pkgNameSuffix = 'en.mangafast'
|
||||
extClass = '.MangaFast'
|
||||
extVersionCode = 3
|
||||
extVersionCode = 4
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 73 KiB |
|
@ -40,7 +40,7 @@ class MangaFast : ParsedHttpSource() {
|
|||
override fun latestUpdatesFromElement(element: Element) = SManga.create().apply {
|
||||
setUrlWithoutDomain(element.select("a").attr("href"))
|
||||
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"
|
||||
|
|