mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
f2689285de
commit
7128ede82c
@ -114,9 +114,6 @@ class HttpReadAloudService : BaseReadAloudService(),
|
||||
var response = analyzeUrl.getResponse()
|
||||
httpTts.loginCheckJs?.let { checkJs ->
|
||||
if (checkJs.isNotBlank()) {
|
||||
if (response.headers["Content-Type"] != "audio/mpeg") {
|
||||
response.body!!.string()
|
||||
}
|
||||
response = analyzeUrl.evalJS(checkJs, response) as Response
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user