How do i get the thumbnail without black/empty section up and bottom #270
-
|
Beta Was this translation helpful? Give feedback.
Answered by
felipeucelli
Oct 11, 2024
Replies: 1 comment 1 reply
-
pytubefix just returns the url that YouTube provides. Some clients, maybe for compatibility reasons, have this border You can try changing the client to url = 'URL'
yt = YouTube(url, 'MWEB')
print(yt.thumbnail_url) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ExyXyz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pytubefix just returns the url that YouTube provides.
Some clients, maybe for compatibility reasons, have this border
You can try changing the client to
MWEB
or any other WEB based client.