parent
							
								
									e90f887d47
								
							
						
					
					
						commit
						0f09d40fde
					
				
							
								
								
									
										9
									
								
								src/it/hastateam/build.gradle
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/it/hastateam/build.gradle
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,9 @@ | ||||
| ext { | ||||
|     extName = 'Hasta Team' | ||||
|     extClass = '.HastaTeam' | ||||
|     themePkg = 'pizzareader' | ||||
|     baseUrl = 'https://reader.hastateam.com' | ||||
|     overrideVersionCode = 0 | ||||
| } | ||||
| 
 | ||||
| apply from: "$rootDir/common.gradle" | ||||
							
								
								
									
										
											BIN
										
									
								
								src/it/hastateam/res/mipmap-hdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/it/hastateam/res/mipmap-hdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 4.8 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/it/hastateam/res/mipmap-mdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/it/hastateam/res/mipmap-mdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 2.5 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/it/hastateam/res/mipmap-xhdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/it/hastateam/res/mipmap-xhdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 6.7 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/it/hastateam/res/mipmap-xxhdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/it/hastateam/res/mipmap-xxhdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 11 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/it/hastateam/res/mipmap-xxxhdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/it/hastateam/res/mipmap-xxxhdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 16 KiB | 
| @ -0,0 +1,31 @@ | ||||
| package eu.kanade.tachiyomi.extension.it.hastateam | ||||
| 
 | ||||
| import eu.kanade.tachiyomi.multisrc.pizzareader.PizzaReader | ||||
| import eu.kanade.tachiyomi.network.interceptor.rateLimit | ||||
| import kotlinx.serialization.json.Json | ||||
| 
 | ||||
| class HastaTeam : PizzaReader( | ||||
|     "Hasta Team", | ||||
|     "https://reader.hastateam.com", | ||||
|     "it", | ||||
| ) { | ||||
|     override val client = super.client.newBuilder() | ||||
|         .addInterceptor { chain -> | ||||
|             val url = chain.request().url.newBuilder() | ||||
|                 .scheme("https") | ||||
|                 .build() | ||||
| 
 | ||||
|             val request = chain.request().newBuilder() | ||||
|                 .url(url) | ||||
|                 .build() | ||||
| 
 | ||||
|             chain.proceed(request) | ||||
|         } | ||||
|         .rateLimit(1) | ||||
|         .build() | ||||
| 
 | ||||
|     override val json = Json { | ||||
|         ignoreUnknownKeys = true | ||||
|         coerceInputValues = true | ||||
|     } | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 AwkwardPeak7
						AwkwardPeak7