MangaSwato : Fix images not loading again (#10997)

* Update MangaSwat.kt

* Update WPMangaStreamGenerator.kt
This commit is contained in:
zeredouni 2022-03-02 22:42:05 +00:00 committed by GitHub
parent 07672fefce
commit e30975cf65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ class MangaSwat : WPMangaStream("MangaSwat", "https://swatmanga.co", "ar", Simpl
override fun pageListParse(document: Document): List<Page> {
return document.select(pageSelector)
.filterNot { it.attr("src").isNullOrEmpty() }
.mapIndexed { i, img -> Page(i, "", img.attr("data-src")) }
.mapIndexed { i, img -> Page(i, "", img.attr("src")) }
}
override fun getFilterList() = FilterList(

View File

@ -34,7 +34,7 @@ class WPMangaStreamGenerator : ThemeSourceGenerator {
SingleLang("Komik AV", "https://komikav.com", "id", overrideVersionCode = 1),
SingleLang("Komik Cast", "https://komikcast.com", "id", overrideVersionCode = 9),
SingleLang("West Manga", "https://westmanga.info", "id", overrideVersionCode = 1),
SingleLang("MangaSwat", "https://swatmanga.co", "ar", overrideVersionCode = 5),
SingleLang("MangaSwat", "https://swatmanga.co", "ar", overrideVersionCode = 6),
SingleLang("Manga Raw.org", "https://mangaraw.org", "ja", className = "MangaRawOrg", overrideVersionCode = 1),
SingleLang("Manga Pro Z", "https://mangaprotm.com", "ar", overrideVersionCode = 1),
SingleLang("Mihentai", "https://mihentai.com", "en", isNsfw = true, overrideVersionCode = 1),