From 7128ede82ce77e48704e32dc920931ec9817c3cb Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 12 Oct 2021 15:51:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/service/HttpReadAloudService.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt b/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt index 4fae93cb8..960a866ab 100644 --- a/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt +++ b/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt @@ -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 } }