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

[suggestion] Use YouTube video poster instead of actual video page screenshot #25

Open
nhoizey opened this issue Nov 7, 2024 · 0 comments

Comments

@nhoizey
Copy link

nhoizey commented Nov 7, 2024

Trying to get a screenshot of a YouTube video page often fails even after a 10 seconds timeout, because the SPA site is reaaaaly slow and heavy. 🤷‍♂️

As poster image URLs are predictable with just the video ID, I guess it could be possible to use the largest one as the “screenshot”.

The large poster URL is https://i.ytimg.com/vi/<video-id>/maxresdefault.jpg

For example https://i.ytimg.com/vi/Z_MG97DzNPs/maxresdefault.jpg for https://www.youtube.com/watch?v=Z_MG97DzNPs

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

1 participant