# importing the module 
from pytube import YouTube 

# Function Takes YouTube Object as Argument.
def video_Info(yt):
    print("Title : ",yt.title)
    print("Total Length : ",yt.length," Seconds")
    print("Total Views : ",yt.views)
    print("Is Age Restricted : ",yt.age_restricted)
    print("Video Rating ",round(yt.rating))
    print("Thumbnail Url : ",yt.thumbnail_url)
    
link = "YouTube Video URL "
yt = YouTube(link) # Create Youtube Object..

# call the function
video_info(yt)