filter(file_extension='mp3' pytube) code example Example: pytube thumbnail YouTube('https://youtu.be/9bZkp7q19f0').thumbnail_url