mirror of
https://github.com/iv-org/invidious.git
synced 2025-04-22 16:29:10 -04:00
YoutubeAPI: Add Android embed and age-bypass clients
This commit is contained in:
parent
56ba453d95
commit
2dc141de64
@ -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",
|
||||
},
|
||||
}
|
||||
|
||||
####################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user