Open
Description
Steps to reproduce
- Save following script into a file e.g.
script.js
- Install
youtube.js
(I did this in FreeTube project folder) node script.js
const { Innertube } = require('youtubei.js')
async function createInnertube(options = { withPlayer: false, location: undefined, safetyMode: false, clientType: undefined, generateSessionLocally: true }) {
return await Innertube.create({
enable_safety_mode: false,
generate_session_locally: !!options.generateSessionLocally
})
}
console.info('hi');
let id = 'P0uzckVfO_M';
(async () => {
const webInnertube = await createInnertube({ withPlayer: true, generateSessionLocally: false })
const info = await webInnertube.getInfo(id)
console.info('info.comments_entry_point_header', info.comments_entry_point_header)
})()
Failure Logs
hi
info.comments_entry_point_header undefined
Expected behavior
Current behavior
Version
Default
Anything else?
No idea if YT doing some AB testing or anti-scraping/bot stuff
But this only started happening is last few days
Looking at the response for https://www.youtube.com/youtubei/v1/next
comments-entry-point
seems missing
No idea if bug or data moved somewhere
Update 1 - Add response SC when comments-entry-point
present
Checklist
- I am running the latest version.
- I checked the documentation and found no answer.
- I have searched the existing issues and made sure this is not a duplicate.
- I have provided sufficient information.