Remove AsuraScans (closes #5525)

This commit is contained in:
arkon 2021-01-23 15:09:16 -05:00
parent 93a23ee73d
commit 514374f13a
4 changed files with 3 additions and 8 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'WP MangaReader (multiple sources)' extName = 'WP MangaReader (multiple sources)'
pkgNameSuffix = 'all.wpmangareader' pkgNameSuffix = 'all.wpmangareader'
extClass = '.WPMangaReaderFactory' extClass = '.WPMangaReaderFactory'
extVersionCode = 4 extVersionCode = 5
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -136,7 +136,7 @@ abstract class WPMangaReader(
.filterNot { it.attr("src").isNullOrEmpty() } .filterNot { it.attr("src").isNullOrEmpty() }
.mapIndexed { i, img -> pages.add(Page(i, "", img.attr("abs:src"))) } .mapIndexed { i, img -> pages.add(Page(i, "", img.attr("abs:src"))) }
// Some sites like mangakita now load pages via javascript. like asurascan in wp mangastream // Some sites like mangakita now load pages via javascript
if (pages.isNotEmpty()) { return pages } if (pages.isNotEmpty()) { return pages }
val docString = document.toString() val docString = document.toString()

View File

@ -263,7 +263,7 @@ abstract class WPMangaStream(
.filterNot { it.attr("src").isNullOrEmpty() } .filterNot { it.attr("src").isNullOrEmpty() }
.mapIndexed { i, img -> pages.add(Page(i, "", img.attr("abs:src"))) } .mapIndexed { i, img -> pages.add(Page(i, "", img.attr("abs:src"))) }
// Some wpmangastream sites like AsuraScans now load pages via javascript // Some wpmangastream sites now load pages via javascript
if (pages.isNotEmpty()) { return pages } if (pages.isNotEmpty()) { return pages }
val docString = document.toString() val docString = document.toString()

View File

@ -49,7 +49,6 @@ class WPMangaStreamFactory : SourceFactory {
MangaProZ(), MangaProZ(),
Boosei(), Boosei(),
Mangakyo(), Mangakyo(),
AsuraScans(),
SilenceScan(), SilenceScan(),
SheaManga(), SheaManga(),
FlameScans(), FlameScans(),
@ -96,10 +95,6 @@ class SheaManga : WPMangaStream(
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale.forLanguageTag("id")) dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale.forLanguageTag("id"))
) )
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") class SekteKomik : WPMangaStream("Sekte Komik (WP Manga Stream)", "https://sektekomik.com", "id")
class Kiryuu : WPMangaStream("Kiryuu (WP Manga Stream)", "https://kiryuu.co", "id") { class Kiryuu : WPMangaStream("Kiryuu (WP Manga Stream)", "https://kiryuu.co", "id") {