Add WindScan (#8093)
* Add WindScan * Add LoadMoreStrategy and chapter endpoint flag
This commit is contained in:
		
							parent
							
								
									ac2ebae360
								
							
						
					
					
						commit
						de293f4685
					
				
							
								
								
									
										10
									
								
								src/pt/windscan/build.gradle
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								src/pt/windscan/build.gradle
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,10 @@ | |||||||
|  | ext { | ||||||
|  |     extName = 'Wind Scan' | ||||||
|  |     extClass = '.WindScan' | ||||||
|  |     themePkg = 'madara' | ||||||
|  |     baseUrl = 'https://windscan.xyz' | ||||||
|  |     overrideVersionCode = 0 | ||||||
|  |     isNsfw = true | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | apply from: "$rootDir/common.gradle" | ||||||
							
								
								
									
										
											BIN
										
									
								
								src/pt/windscan/res/mipmap-hdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/pt/windscan/res/mipmap-hdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 7.6 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/pt/windscan/res/mipmap-mdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/pt/windscan/res/mipmap-mdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 3.7 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/pt/windscan/res/mipmap-xhdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/pt/windscan/res/mipmap-xhdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 13 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/pt/windscan/res/mipmap-xxhdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/pt/windscan/res/mipmap-xxhdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 27 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/pt/windscan/res/mipmap-xxxhdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/pt/windscan/res/mipmap-xxxhdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 46 KiB | 
| @ -0,0 +1,21 @@ | |||||||
|  | package eu.kanade.tachiyomi.extension.pt.windscan | ||||||
|  | 
 | ||||||
|  | import eu.kanade.tachiyomi.multisrc.madara.Madara | ||||||
|  | import eu.kanade.tachiyomi.network.interceptor.rateLimit | ||||||
|  | import java.text.SimpleDateFormat | ||||||
|  | import java.util.Locale | ||||||
|  | 
 | ||||||
|  | class WindScan : Madara( | ||||||
|  |     "Wind Scan", | ||||||
|  |     "https://windscan.xyz", | ||||||
|  |     "pt-BR", | ||||||
|  |     dateFormat = SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")), | ||||||
|  | ) { | ||||||
|  |     override val client = super.client.newBuilder() | ||||||
|  |         .rateLimit(2) | ||||||
|  |         .build() | ||||||
|  | 
 | ||||||
|  |     override val useLoadMoreRequest = LoadMoreStrategy.Never | ||||||
|  | 
 | ||||||
|  |     override val useNewChapterEndpoint = true | ||||||
|  | } | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Chopper
						Chopper