Promchai Chooseang 533eec004d
Fix some Thai Madara source (#11703)
* Clean up code and disable NonMangaItems Filter

* Clean up code and disable NonMangaItems Filter

* Clean up code and Change baseUrl

* Fix Url problem

* Change requests url due to inaccessibility of the admin-ajax.php page

* Clean up code and disable NonMangaItems Filter

Clean up code and disable NonMangaItems Filter

Clean up code and Change baseUrl

Fix Url problem

Change requests url due to inaccessibility of the admin-ajax.php page
2022-05-02 18:34:35 -03:00

18 lines
618 B
Kotlin

package eu.kanade.tachiyomi.extension.th.mangadeemak
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.GET
import okhttp3.Request
import java.text.SimpleDateFormat
import java.util.Locale
class MangaDeemak : Madara("MangaDeemak", "https://mangadeemak.com", "th", SimpleDateFormat("d MMMM yyyy", Locale("th"))) {
override fun popularMangaRequest(page: Int): Request {
return GET("$baseUrl/manga/page/$page/?m_orderby=trending", headers)
}
override fun latestUpdatesRequest(page: Int): Request {
return GET("$baseUrl/manga/page/$page/", headers)
}
}