Night SCANS: Remove duplicate page (#8836)
* Remove duplicate page * Call parent parser instead
This commit is contained in:
parent
8fb7d54fee
commit
377e2124f1
@ -3,7 +3,7 @@ ext {
|
|||||||
extClass = '.NightScans'
|
extClass = '.NightScans'
|
||||||
themePkg = 'mangathemesia'
|
themePkg = 'mangathemesia'
|
||||||
baseUrl = 'https://nightsup.net'
|
baseUrl = 'https://nightsup.net'
|
||||||
overrideVersionCode = 11
|
overrideVersionCode = 12
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,9 @@ import androidx.preference.PreferenceScreen
|
|||||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesiaAlt
|
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesiaAlt
|
||||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesiaPaidChapterHelper
|
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesiaPaidChapterHelper
|
||||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
|
import eu.kanade.tachiyomi.source.model.Page
|
||||||
import okhttp3.OkHttpClient
|
import okhttp3.OkHttpClient
|
||||||
|
import org.jsoup.nodes.Document
|
||||||
import java.util.concurrent.TimeUnit
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
class NightScans : MangaThemesiaAlt("NIGHT SCANS", "https://nightsup.net", "en", "/series") {
|
class NightScans : MangaThemesiaAlt("NIGHT SCANS", "https://nightsup.net", "en", "/series") {
|
||||||
@ -29,4 +31,8 @@ class NightScans : MangaThemesiaAlt("NIGHT SCANS", "https://nightsup.net", "en",
|
|||||||
preferences,
|
preferences,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun pageListParse(document: Document): List<Page> {
|
||||||
|
return super.pageListParse(document).distinctBy { it.imageUrl }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user