#here is a indept video
#https://www.youtube.com/watch?v=vEQ8CXFWLZU&list=WL&index=3
from pytube import YouTube
from sys import argv
link=input("Video: ")
argv.append(link)
#[0] is the code for argv
#[1] is the video you just inputed on the 7th line of code
link=argv[1]
youtube=YouTube(link)
#here is you can experiment and see how to get costum definition
you_download=youtube.streams.get_highest_resolution()
#inside download choose a folder were you want to save said video
you_download.download()