-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Fix members only stream error & update video metadata #15
base: master
Are you sure you want to change the base?
Conversation
@@ -120,7 +121,8 @@ export function parseMetadataFromWatch(html: string) { | |||
const title = runsToString(primaryInfo.title.runs); | |||
const channelId = videoOwner.navigationEndpoint.browseEndpoint.browseId; | |||
const channelName = runsToString(videoOwner.title.runs); | |||
const isLive = primaryInfo.viewCount!.videoViewCountRenderer.isLive ?? false; | |||
const metadata = parseVideoMetadataFromHtml(html); |
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.
you parsed the metadata but I don't think you're exposing it anywhere at all?
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.
Currently we just return simple data (title/channelId/channelName)
But I just think we can return full metadata in case anyone need 🤔
Also fix #16 |
masterchat
unable to to get & checkplayabilityStatus
of members only stream so I temporary disable the checkAlso adding metadata parser to get more detail of video
For example: https://www.youtube.com/watch?v=mwJGZ8YU7o4