tv constant

YoutubeApiClient const tv

Used to bypass same restriction on videos.

Implementation

static const tv = YoutubeApiClient(
    {
      'context': {
        'client': {
          'clientName': 'TVHTML5',
          'clientVersion': '7.20240724.13.00',
          'hl': 'en',
          'timeZone': 'UTC',
          'gl': 'US',
          'utcOffsetMinutes': 0
        }
      },
      "contentCheckOk": true,
      "racyCheckOk": true
    },
    'https://www.youtube.com/youtubei/v1/player?prettyPrint=false',
    headers: {
      'Sec-Fetch-Mode': 'navigate',
      'Content-Type': 'application/json',
      'Origin': 'https://www.youtube.com',
    });