* 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
		
			
				
	
	
		
			18 lines
		
	
	
		
			618 B
		
	
	
	
		
			Kotlin
		
	
	
	
	
	
			
		
		
	
	
			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)
 | 
						|
    }
 | 
						|
}
 |