mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	FIx Batoto issues with logging in and loading lists/pages. (#1088)
This commit is contained in:
		
				
					committed by
					
						 Bram van de Kerkhof
						Bram van de Kerkhof
					
				
			
			
				
	
			
			
			
						parent
						
							34eb1331a3
						
					
				
				
					commit
					80fd49d60b
				
			| @@ -11,6 +11,7 @@ import eu.kanade.tachiyomi.util.asJsoup | ||||
| import eu.kanade.tachiyomi.util.selectText | ||||
| import okhttp3.FormBody | ||||
| import okhttp3.HttpUrl | ||||
| import okhttp3.OkHttpClient | ||||
| import okhttp3.Request | ||||
| import okhttp3.Response | ||||
| import org.jsoup.nodes.Document | ||||
| @@ -48,6 +49,8 @@ class Batoto : ParsedHttpSource(), LoginSource { | ||||
|  | ||||
|     private val staffNotice = Pattern.compile("=+Batoto Staff Notice=+([^=]+)==+", Pattern.CASE_INSENSITIVE) | ||||
|  | ||||
|     override val client: OkHttpClient = network.cloudflareClient | ||||
|  | ||||
|     override fun headersBuilder() = super.headersBuilder() | ||||
|             .add("Cookie", "lang_option=English") | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user