parent
							
								
									2d976eb7f2
								
							
						
					
					
						commit
						614f2a997b
					
				@ -0,0 +1,24 @@
 | 
				
			|||||||
 | 
					package eu.kanade.tachiyomi.extension.pt.imaginescan
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import eu.kanade.tachiyomi.annotations.Nsfw
 | 
				
			||||||
 | 
					import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
 | 
				
			||||||
 | 
					import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream
 | 
				
			||||||
 | 
					import okhttp3.OkHttpClient
 | 
				
			||||||
 | 
					import java.text.SimpleDateFormat
 | 
				
			||||||
 | 
					import java.util.Locale
 | 
				
			||||||
 | 
					import java.util.concurrent.TimeUnit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@Nsfw
 | 
				
			||||||
 | 
					class ImagineScan : WPMangaStream(
 | 
				
			||||||
 | 
					    "Imagine Scan",
 | 
				
			||||||
 | 
					    "https://imaginescan.com.br",
 | 
				
			||||||
 | 
					    "pt-BR",
 | 
				
			||||||
 | 
					    SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR"))
 | 
				
			||||||
 | 
					) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    override val client: OkHttpClient = super.client.newBuilder()
 | 
				
			||||||
 | 
					        .addInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS))
 | 
				
			||||||
 | 
					        .build()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    override val altName: String = "Nome alternativo: "
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -45,7 +45,8 @@ class WPMangaStreamGenerator : ThemeSourceGenerator {
 | 
				
			|||||||
            SingleLang("Sekte Doujin", "https://sektedoujin.xyz", "id", isNsfw = true, overrideVersionCode = 2),
 | 
					            SingleLang("Sekte Doujin", "https://sektedoujin.xyz", "id", isNsfw = true, overrideVersionCode = 2),
 | 
				
			||||||
            SingleLang("Lemon Juice Scan", "https://lemonjuicescan.com", "pt-BR", isNsfw = true, overrideVersionCode = 1),
 | 
					            SingleLang("Lemon Juice Scan", "https://lemonjuicescan.com", "pt-BR", isNsfw = true, overrideVersionCode = 1),
 | 
				
			||||||
            SingleLang("Phoenix Fansub", "https://phoenixfansub.com", "es"),
 | 
					            SingleLang("Phoenix Fansub", "https://phoenixfansub.com", "es"),
 | 
				
			||||||
            SingleLang("Geass Scanlator", "https://geassscan.xyz", "pt-BR", overrideVersionCode = 2)
 | 
					            SingleLang("Geass Scanlator", "https://geassscan.xyz", "pt-BR", overrideVersionCode = 2),
 | 
				
			||||||
 | 
					            SingleLang("Imagine Scan", "https://imaginescan.com.br", "pt-BR", isNsfw = true)
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    companion object {
 | 
					    companion object {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user