Skip to content
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

possible to fetch youtube video/audio playback url from browser javascript?? #34

Open
moinologics opened this issue Sep 17, 2024 · 1 comment

Comments

@moinologics
Copy link

moinologics commented Sep 17, 2024

just curious if it may be possible to fetch video/audio playback url from videoId.

@moinologics moinologics changed the title Is it possible to fetch youtube video/audio playback url from browser javascript possible to fetch youtube video/audio playback url from browser javascript?? Sep 17, 2024
@developerTested
Copy link

It's possible that you need to parse const ytPlayerData = await page.data.split("var ytInitialPlayerResponse ="); which contains all the data, such as media formats, audio, video, keywords, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants