wp MangaStream add ResetScans (#5681)

This commit is contained in:
Riztard Lanthorn 2021-02-08 11:36:17 +07:00 committed by GitHub
parent 911edaffbb
commit 94ee0019c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'WP MangaStream (multiple sources)' extName = 'WP MangaStream (multiple sources)'
pkgNameSuffix = 'all.wpmangastream' pkgNameSuffix = 'all.wpmangastream'
extClass = '.WPMangaStreamFactory' extClass = '.WPMangaStreamFactory'
extVersionCode = 50 extVersionCode = 51
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -60,10 +60,13 @@ class WPMangaStreamFactory : SourceFactory {
MangaShiro(), MangaShiro(),
ChiOtaku(), ChiOtaku(),
KlanKomik(), KlanKomik(),
MangaIndonesia() MangaIndonesia(),
ResetScans()
) )
} }
class ResetScans : WPMangaStream("Reset Scans", "https://reset-scans.com", "en")
class MangaIndonesia : WPMangaStream("MangaIndonesia", "https://mangaindonesia.net", "id") { class MangaIndonesia : WPMangaStream("MangaIndonesia", "https://mangaindonesia.net", "id") {
override fun popularMangaRequest(page: Int): Request { override fun popularMangaRequest(page: Int): Request {
// return GET("$baseUrl/popular" + if (page > 1) "/${(page - 1) * 30}" else "", headers) // return GET("$baseUrl/popular" + if (page > 1) "/${(page - 1) * 30}" else "", headers)