INNER CODE UNIT · Python

bindsToVideoId

cwuom/NeriPlayer · tools_pub/ytmusic_api_probe.py:131

  const bindsToVideoId = Object.values(webPlayerContexts).some((context) => {
    const flags = String(context?.serializedExperimentFlags || '');
    return flags.includes('html5_generate_content_po_token=true');
  });
  return {
    readyState: document.readyState || '',
    hasYtcfg: !!ytcfg,
    hasWebPoClient: !!findFactory(),
    visitorData: String(
      getConfig('VISITOR_DATA')
        || getConfig('INNERTUBE_CONTEXT')?.client?.visitorData
        || ''
    ),
    dataSyncId: String(
      getConfig('DATASYNC_ID')
        || getConfig('datasyncId')
        || ''
    ),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…