initial commit (#12704)
This commit is contained in:
		
							parent
							
								
									1fe1da7b02
								
							
						
					
					
						commit
						5add0416b0
					
				
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 5.6 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 3.1 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 8.2 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 14 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 22 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								multisrc/overrides/madara/niceoppai/res/web_hi_res_512.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								multisrc/overrides/madara/niceoppai/res/web_hi_res_512.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 84 KiB  | 
							
								
								
									
										11
									
								
								multisrc/overrides/madara/niceoppai/src/Niceoppai.kt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								multisrc/overrides/madara/niceoppai/src/Niceoppai.kt
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,11 @@
 | 
			
		||||
package eu.kanade.tachiyomi.extension.th.niceoppai
 | 
			
		||||
 | 
			
		||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
 | 
			
		||||
import eu.kanade.tachiyomi.network.GET
 | 
			
		||||
import okhttp3.Request
 | 
			
		||||
 | 
			
		||||
class Niceoppai : Madara("Niceoppai", "https://www.niceoppai.net", "th") {
 | 
			
		||||
    private fun pagePath(page: Int) = if (page > 1) "$page/" else ""
 | 
			
		||||
    override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/manga_list/all/any/most-popular/${pagePath(page)}", headers)
 | 
			
		||||
    override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/manga_list/all/any/last-updated/${pagePath(page)}", headers)
 | 
			
		||||
}
 | 
			
		||||
@ -367,6 +367,7 @@ class MadaraGenerator : ThemeSourceGenerator {
 | 
			
		||||
        SingleLang("NeatManga", "https://neatmanga.com", "en", overrideVersionCode = 2),
 | 
			
		||||
        SingleLang("NekoBreaker Scan", "https://nekobreakerscan.com", "pt-BR", overrideVersionCode = 1),
 | 
			
		||||
        SingleLang("NekoScan", "https://nekoscan.com", "en", overrideVersionCode = 2),
 | 
			
		||||
        SingleLang("Niceoppai", "https://www.niceoppai.net", "th", isNsfw = false),
 | 
			
		||||
        SingleLang("Night Comic", "https://www.nightcomic.com", "en", overrideVersionCode = 1),
 | 
			
		||||
        SingleLang("Niji Translations", "https://niji-translations.com", "ar", overrideVersionCode = 1),
 | 
			
		||||
        SingleLang("Ninja Scan", "https://ninjascan.xyz", "pt-BR", overrideVersionCode = 1),
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user