safari constant

YoutubeApiClient const safari

This client also provide high quality muxed stream in the HLS manifest. The streams are in m3u8 format.

Implementation

static const safari = YoutubeApiClient({
  'context': {
    'client': {
      'clientName': 'WEB',
      'clientVersion': '2.20240726.00.00',
      'userAgent':
          'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15,gzip(gfe)',
      'hl': 'en',
      'timeZone': 'UTC',
      'utcOffsetMinutes': 0,
    },
  },
}, 'https://www.youtube.com/youtubei/v1/player?prettyPrint=false');