File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
app/src/main/java/app/revanced/manager/network/service Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import app.revanced.manager.util.tag
88import io.ktor.client.HttpClient
99import io.ktor.client.call.body
1010import io.ktor.client.request.HttpRequestBuilder
11- import io.ktor.client.request.get
1211import io.ktor.client.request.prepareGet
1312import io.ktor.client.request.request
1413import io.ktor.client.statement.bodyAsText
@@ -92,9 +91,5 @@ class HttpService(
9291 builder : HttpRequestBuilder .() -> Unit
9392 ) = saveLocation.outputStream().use { streamTo(it, builder) }
9493
95- suspend fun getHtml (builder : HttpRequestBuilder .() -> Unit ) = htmlDocument(
96- html = http.get(builder).bodyAsText()
97- )
98-
9994 class HttpException (status : HttpStatusCode ) : Exception(" Failed to fetch: http status: $status " )
10095}
You can’t perform that action at this time.
0 commit comments