2021-04-24 20:57:49 +00:00
|
|
|
package eu.kanade.tachiyomi.extension.en.mangaweebs
|
|
|
|
|
|
|
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
2021-06-25 12:44:37 +00:00
|
|
|
import java.text.SimpleDateFormat
|
|
|
|
import java.util.Locale
|
2021-04-24 20:57:49 +00:00
|
|
|
import eu.kanade.tachiyomi.source.model.Page
|
|
|
|
import org.jsoup.nodes.Document
|
|
|
|
|
2021-06-25 12:44:37 +00:00
|
|
|
class MangaWeebs : Madara("Manga Weebs", "https://mangaweebs.in", "en", dateFormat = SimpleDateFormat("dd MMMM HH:mm", Locale.US)) {
|
2021-04-24 20:57:49 +00:00
|
|
|
override fun pageListParse(document: Document): List<Page> {
|
|
|
|
return document.select(pageListParseSelector).mapIndexed { index, element ->
|
|
|
|
Page(
|
|
|
|
index,
|
|
|
|
"",
|
|
|
|
element.select("img.wp-manga-chapter-img").attr("src")
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|