mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-08-07 12:51:13 +00:00
some fix
- debug searchYoutube fun (4x)
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user