New source: HikariScan (#379)
* feat: Add HikariScan * chore: Add source icon * chore: Add rate limit
This commit is contained in:
		
							parent
							
								
									bcb3c31237
								
							
						
					
					
						commit
						3d1006e244
					
				
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 4.7 KiB | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 2.5 KiB | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 6.0 KiB | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 11 KiB | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 16 KiB | 
| @ -0,0 +1,22 @@ | ||||
| package eu.kanade.tachiyomi.extension.pt.hikariscan | ||||
| 
 | ||||
| import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia | ||||
| import eu.kanade.tachiyomi.network.interceptor.rateLimitHost | ||||
| import okhttp3.HttpUrl.Companion.toHttpUrl | ||||
| import java.text.SimpleDateFormat | ||||
| import java.util.Locale | ||||
| 
 | ||||
| class HikariScan : MangaThemesia( | ||||
|     "Hikari Scan", | ||||
|     "https://hikariscan.org", | ||||
|     "pt-BR", | ||||
|     dateFormat = SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")), | ||||
| ) { | ||||
|     override val client = super.client.newBuilder() | ||||
|         .rateLimitHost(baseUrl.toHttpUrl(), 1, 2) | ||||
|         .build() | ||||
| 
 | ||||
|     // =========================== Manga Details ============================ | ||||
|     override val altNamePrefix = "Títulos alternativos: " | ||||
|     override val seriesAuthorSelector = ".tsinfo .imptdt:contains(autor) i" | ||||
| } | ||||
| @ -51,6 +51,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator { | ||||
|         SingleLang("Gremory Mangas", "https://gremorymangas.com", "es"), | ||||
|         SingleLang("Hanuman Scan", "https://hanumanscan.com", "en"), | ||||
|         SingleLang("Heroxia", "https://heroxia.com", "id", isNsfw = true), | ||||
|         SingleLang("Hikari Scan", "https://hikariscan.com", "pt-BR", isNsfw = true), | ||||
|         SingleLang("Imagine Scan", "https://imaginescan.com.br", "pt-BR", isNsfw = true, overrideVersionCode = 1), | ||||
|         SingleLang("InariManga", "https://inarimanga.com", "es", overrideVersionCode = 7), | ||||
|         SingleLang("Infernal Void Scans", "https://void-scans.com", "en", overrideVersionCode = 5), | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Claudemirovsky
						Claudemirovsky