Paprika - add mangadogs.fun (#3776)
This commit is contained in:
parent
61c0887123
commit
4f9a63317e
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'Paprika'
|
||||
pkgNameSuffix = 'all.paprika'
|
||||
extClass = '.PaprikaFactory'
|
||||
extVersionCode = 3
|
||||
extVersionCode = 4
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -162,8 +162,7 @@ abstract class Paprika(
|
|||
}?.timeInMillis ?: 0L
|
||||
}
|
||||
else -> SimpleDateFormat("MMM d yy", Locale.US)
|
||||
.parse("${this.substringBefore(",")} $currentYear")
|
||||
.time
|
||||
.parse("${this.substringBefore(",")} $currentYear")?.time ?: 0
|
||||
}
|
||||
} catch (_: Exception) {
|
||||
0L
|
||||
|
|
|
@ -10,7 +10,8 @@ class PaprikaFactory : SourceFactory {
|
|||
MangazukiXyz(),
|
||||
MangaTensei(),
|
||||
MangaNelo(),
|
||||
MangaWindowClub()
|
||||
MangaWindowClub(),
|
||||
MangaDogs()
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -18,3 +19,4 @@ class MangazukiXyz : Paprika("MangaZuki.xyz", "https://ir2me.com", "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 MangaDogs : Paprika("MangaDogs.fun", "http://mangadogs.fun", "en")
|
||||
|
|
Loading…
Reference in New Issue