Initial commit

This commit is contained in:
FourTOne5
2024-01-09 04:12:39 +06:00
commit 600c345dfe
8593 changed files with 150590 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

View File

@@ -0,0 +1,34 @@
package eu.kanade.tachiyomi.extension.en.lynxscans
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import okhttp3.Interceptor
import okhttp3.Response
class LynxScans : MangaThemesia("LynxScans", "https://lynxscans.com", "en", "/comics") {
override val versionId = 3
override val hasProjectPage = true
override val client = super.client.newBuilder()
.addNetworkInterceptor(::pageSpeedRedirectIntercept)
.rateLimit(2)
.build()
private fun pageSpeedRedirectIntercept(chain: Interceptor.Chain): Response {
val request = chain.request()
if (request.url.pathSegments.contains("wp-content") || request.method == "POST") {
return chain.proceed(request)
}
val newUrl = request.url.newBuilder()
.setQueryParameter("PageSpeed", "noscript")
.build()
val newRequest = request.newBuilder()
.url(newUrl)
.build()
return chain.proceed(newRequest)
}
}