Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (() => {
- const body = {
- "context": {
- "client": {
- "clientName": "WEB",
- "clientVersion": "2.20221122.06.00",
- }
- },
- "continuation": "Eg0SC3F5Y3FGMUNXY1hnGAYyJSIRIgtxeWNxRjFDV2NYZzAAeAJCEGNvbW1lbnRzLXNlY3Rpb24%3D"
- };
- fetch("https://www.youtube.com/youtubei/v1/next?key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8&prettyPrint=false", {
- "referrer": "https://www.youtube.com/watch?v=qycqF1CWcXg",
- "referrerPolicy": "origin-when-cross-origin",
- "body": JSON.stringify(body),
- "method": "POST",
- "mode": "cors",
- "credentials": "include"
- }).then(
- r => r.json()
- ).then(
- r => console.log(r.onResponseReceivedEndpoints[1].reloadContinuationItemsCommand.continuationItems[0].commentThreadRenderer.comment.commentRenderer.authorText.simpleText)
- );
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement