From 52c1b103cbbfd2cd8756e539022bd44792747659 Mon Sep 17 00:00:00 2001 From: beerpiss Date: Mon, 29 Jan 2024 22:53:19 +0700 Subject: [PATCH] TM: Fix headers (3) --- .../eu/kanade/tachiyomi/extension/pt/tsukimangas/TsukiMangas.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pt/tsukimangas/src/eu/kanade/tachiyomi/extension/pt/tsukimangas/TsukiMangas.kt b/src/pt/tsukimangas/src/eu/kanade/tachiyomi/extension/pt/tsukimangas/TsukiMangas.kt index 08bcba934..c9c2b1031 100644 --- a/src/pt/tsukimangas/src/eu/kanade/tachiyomi/extension/pt/tsukimangas/TsukiMangas.kt +++ b/src/pt/tsukimangas/src/eu/kanade/tachiyomi/extension/pt/tsukimangas/TsukiMangas.kt @@ -262,7 +262,7 @@ class TsukiMangas : HttpSource() { } } - private val apiHeadersRegex = Regex("""headers\.common(?:\.(?[0-9A-Za-z_]+)|\[['"](?[0-9A-Za-z-_]+)['"]])\s*=\s*['"](?[a-zA-Z0-9_ :;.,\\/"'?!(){}\[\]@<>=\-+*#$&`|~^%]+)['"]""") + private val apiHeadersRegex = Regex("""headers\.common(?:\.(?[0-9A-Za-z_]+)|\[['"](?[0-9A-Za-z-_]+)['"]])\s*=\s*['"](?[a-zA-Z0-9_ :;.,\\/?!(){}\[\]@<>=\-+*#$&`|~^%]+)['"]""") private val apiHeaders by lazy { val document = client.newCall(GET(baseUrl, headers)).execute().asJsoup()