[skip ci] refactor: Remove (most) unnecessary .use block usages (#2841)
Co-authored-by: jmir1 <jhmiramon@gmail.com>
This commit is contained in:
@ -44,7 +44,7 @@ class GoogleDriveExtractor(private val client: OkHttpClient, private val headers
|
||||
return videoFromRedirect(itemUrl, videoName, "", cookieJar)
|
||||
}
|
||||
|
||||
val document = docResp.use { it.asJsoup() }
|
||||
val document = docResp.asJsoup()
|
||||
|
||||
val itemSize = document.selectFirst("span.uc-name-size")
|
||||
?.let { " ${it.ownText().trim()} " }
|
||||
|
Reference in New Issue
Block a user