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