from pytube import YouTube
pytube is library written by someone. What is YouTube in this case? Is it a class?
Many thanks