androidMusic constant
YoutubeApiClient
const androidMusic
Has limited streams but doesn't require signature deciphering. As opposed to android, this works only for music.
Implementation
static const androidMusic = YoutubeApiClient({
'context': {
'client': {
'clientName': 'ANDROID_MUSIC',
'clientVersion': '2.16.032',
'androidSdkVersion': 31,
'userAgent':
'com.google.android.youtube/19.29.1 (Linux; U; Android 11) gzip',
'hl': 'en',
'timeZone': 'UTC',
'utcOffsetMinutes': 0,
},
},
}, 'https://music.youtube.com/youtubei/v1/player?key=AIzaSyAOghZGza2MQSZkY_zfZ370N-PUdXEo8AI&prettyPrint=false');