ā This failed for me: const transcriptRes = await page.goto(tracks[0].baseUrl + '&fmt=json3'); const transcriptJson = await transcriptRes.json(); // YouTube blocks this
ā This worked like magic: const result = await page.evaluate(async () => { const response = await fetch(baseUrl); // Works inside browser context const transcript = await response.json(); });
If you're stuck, this change makes all the difference! Thanks for sharing š Finally got it working ā what a relief! š