mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-16 09:58:50 +00:00
Rename transcript() to get_transcript() in YT API
This commit is contained in:
@@ -558,7 +558,7 @@ module YoutubeAPI
|
||||
end
|
||||
|
||||
####################################################################
|
||||
# transcript(params)
|
||||
# get_transcript(params, client_config?)
|
||||
#
|
||||
# Requests the youtubei/v1/get_transcript endpoint with the required headers
|
||||
# and POST data in order to get a JSON reply.
|
||||
@@ -569,7 +569,7 @@ module YoutubeAPI
|
||||
# `struct ClientConfig` above for more details).
|
||||
#
|
||||
|
||||
def transcript(
|
||||
def get_transcript(
|
||||
params : String,
|
||||
client_config : ClientConfig | Nil = nil
|
||||
) : Hash(String, JSON::Any)
|
||||
|
||||
Reference in New Issue
Block a user