YoutubeAPI: Add Android embed and age-bypass clients

This commit is contained in:
Samantaz Fox 2021-08-01 15:24:41 +02:00
parent 56ba453d95
commit 2dc141de64
No known key found for this signature in database
GPG Key ID: F42821059186176E

View File

@ -12,6 +12,8 @@ module YoutubeAPI
WebMobile
WebAgeBypass
Android
AndroidEmbed
AndroidAgeBypass
end
# List of hard-coded values used by the different clients
@ -46,6 +48,18 @@ module YoutubeAPI
api_key: "AIzaSyA8eiZmM1FaDVjRy-df2KTyQ_vz_yYM39w",
screen: "", # ??
},
ClientType::AndroidEmbed => {
name: "ANDROID_EMBEDDED_PLAYER", # 55
version: "16.20",
api_key: "AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8",
screen: "", # None?
},
ClientType::AndroidAgeBypass => {
name: "ANDROID", # 3
version: "16.20",
api_key: "AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8",
screen: "EMBED",
},
}
####################################################################