diff --git a/src/all/wpmangastream/build.gradle b/src/all/wpmangastream/build.gradle index 7ec36a8a5..8e15badcd 100644 --- a/src/all/wpmangastream/build.gradle +++ b/src/all/wpmangastream/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'WP MangaStream (multiple sources)' pkgNameSuffix = 'all.wpmangastream' extClass = '.WPMangaStreamFactory' - extVersionCode = 33 + extVersionCode = 34 libVersion = '1.2' } diff --git a/src/all/wpmangastream/src/eu/kanade/tachiyomi/extension/all/wpmangastream/WPMangaStream.kt b/src/all/wpmangastream/src/eu/kanade/tachiyomi/extension/all/wpmangastream/WPMangaStream.kt index b8ef6008e..f911a4704 100644 --- a/src/all/wpmangastream/src/eu/kanade/tachiyomi/extension/all/wpmangastream/WPMangaStream.kt +++ b/src/all/wpmangastream/src/eu/kanade/tachiyomi/extension/all/wpmangastream/WPMangaStream.kt @@ -246,9 +246,11 @@ abstract class WPMangaStream( } } + open val pageSelector = "div#readerarea img" + override fun pageListParse(document: Document): List { var pages = mutableListOf() - document.select("div#readerarea img") + document.select(pageSelector) .filterNot { it.attr("src").isNullOrEmpty() } .mapIndexed { i, img -> pages.add(Page(i, "", img.attr("abs:src"))) } diff --git a/src/all/wpmangastream/src/eu/kanade/tachiyomi/extension/all/wpmangastream/WPMangaStreamFactory.kt b/src/all/wpmangastream/src/eu/kanade/tachiyomi/extension/all/wpmangastream/WPMangaStreamFactory.kt index 1cbf2fc80..702e89a6c 100644 --- a/src/all/wpmangastream/src/eu/kanade/tachiyomi/extension/all/wpmangastream/WPMangaStreamFactory.kt +++ b/src/all/wpmangastream/src/eu/kanade/tachiyomi/extension/all/wpmangastream/WPMangaStreamFactory.kt @@ -77,7 +77,9 @@ class SheaManga : WPMangaStream( dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale.forLanguageTag("id")) ) -class AsuraScans : WPMangaStream("AsuraScans", "https://asurascans.com", "en") +class AsuraScans : WPMangaStream("AsuraScans", "https://asurascans.com", "en") { + override val pageSelector = "div#readerarea img[lazy]" +} class SekteKomik : WPMangaStream("Sekte Komik (WP Manga Stream)", "https://sektekomik.com", "id")