From 2e11ec2e4aba9b3605a4870172639448157f7b37 Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Mon, 25 Oct 2021 20:10:15 +0200 Subject: [PATCH] Add more clients to YT API utility script --- scripts/yt-api-helper.sh | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/scripts/yt-api-helper.sh b/scripts/yt-api-helper.sh index 38d6157..c193c63 100755 --- a/scripts/yt-api-helper.sh +++ b/scripts/yt-api-helper.sh @@ -22,6 +22,10 @@ print_clients() { echo "Available clients:" echo "web" + echo "web-embed" + echo "web-mobile" + echo "android" + echo "android-embed" } print_endpoints() @@ -197,7 +201,31 @@ case $client_option in web) apikey="AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8" client_name="WEB" - client_vers="2.20210330.08.00" + client_vers="2.20210721.00.00" + ;; + + web-embed) + apikey="AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8" + client_name="WEB_EMBEDDED_PLAYER" + client_vers="1.20210721.1.0" + ;; + + web-mobile) + apikey="AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8" + client_name="MWEB" + client_vers="2.20210726.08.00" + ;; + + android) + apikey= "AIzaSyA8eiZmM1FaDVjRy-df2KTyQ_vz_yYM39w" + client_name="ANDROID" + client_vers="16.20" + ;; + + android-embed) + apikey="AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8" + client_name="ANDROID_EMBEDDED_PLAYER" + client_vers="16.20" ;; *)