We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: