-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
first try #1
first try #1
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,10 @@ export function build(opts: PlayerEndpointOptions): IPlayerRequest { | |
...{ | ||
client: opts.client, | ||
playlistId: opts.playlist_id, | ||
params: opts.params | ||
} | ||
params: opts.params, | ||
serviceIntegrityDimensions: { | ||
poToken: session.po_token.toString(), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I saw you added There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Other than that it looks good. But one last thing, you'll have to update the methods from the |
||
}, | ||
}, | ||
}; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok there's another problem here actually.
po_token
is a parameter, but it's not being used anywhere.Session#create
is not passing the token fromSessionOptions
when instantiating the class:YouTube.js/src/core/Session.ts
Lines 271 to 276 in 6a13133