mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-10 23:02:06 +01:00
disable playwright for v0.6.7
This commit is contained in:
@@ -38,6 +38,8 @@ class CloudflareInterceptor : Interceptor {
|
|||||||
return originalResponse
|
return originalResponse
|
||||||
}
|
}
|
||||||
|
|
||||||
|
throw IOException("playwrite is diabled for v0.6.7")
|
||||||
|
|
||||||
logger.debug { "Cloudflare anti-bot is on, CloudflareInterceptor is kicking in..." }
|
logger.debug { "Cloudflare anti-bot is on, CloudflareInterceptor is kicking in..." }
|
||||||
|
|
||||||
return try {
|
return try {
|
||||||
@@ -137,6 +139,8 @@ object CFClearance {
|
|||||||
|
|
||||||
fun getWebViewUserAgent(): String {
|
fun getWebViewUserAgent(): String {
|
||||||
return try {
|
return try {
|
||||||
|
throw PlaywrightException("playwrite is diabled for v0.6.7")
|
||||||
|
|
||||||
Playwright.create().use { playwright ->
|
Playwright.create().use { playwright ->
|
||||||
playwright.chromium().launch(
|
playwright.chromium().launch(
|
||||||
LaunchOptions()
|
LaunchOptions()
|
||||||
|
|||||||
Reference in New Issue
Block a user