Alessandro Jean 158aceb1fd
Rollback to old popular selector in some Madara sources (#10981)
* Rollback to old popular selector in some Madara sources.

* Readd MadaraGenerator.run.xml.

* Rollback Hentai Manga and MangaGreat.

* Rollback ManyToon.me.

* Rollback more sources.
2022-03-15 07:43:49 -04:00

24 lines
709 B
Kotlin
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package eu.kanade.tachiyomi.extension.tr.hattorimanga
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.source.model.Page
import org.jsoup.nodes.Document
import java.text.SimpleDateFormat
import java.util.Locale
class HattoriManga : Madara(
"Hattori Manga",
"https://hattorimanga.com",
"tr",
SimpleDateFormat("d MMM yyy", Locale("tr"))
) {
override fun pageListParse(document: Document): List<Page> {
val blocked = document.select(".content-blocked").first()
if (blocked != null) {
throw Exception(blocked.text()) // Bu bölümü okumak için Üye olmanız gerekiyor.
}
return super.pageListParse(document)
}
}