mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
some fix
- debug searchYoutube fun (4x)
This commit is contained in:
parent
a10579ea6b
commit
60523f992b
@ -26,7 +26,8 @@ fun searchYoutube(query: String): String? {
|
||||
val url = HttpUrl.Builder()
|
||||
.scheme("https")
|
||||
.host("youtube-search-results.p.rapidapi.com")
|
||||
.addPathSegment("youtube-search/")
|
||||
.addPathSegment("youtube-search")
|
||||
.addPathSegment("")
|
||||
.addQueryParameter("q", URLEncoder.encode(query, "UTF-8"))
|
||||
.build()
|
||||
val request = Request.Builder()
|
||||
|
Loading…
x
Reference in New Issue
Block a user