I know that there are a few posts on this very same topic, but all of those posts are a bit old and none of them worked for me. So please, I have tried everything, upgraded Pytube, upgrading pip, switched to other versions of Pytube and Pip, reinstalled both. But nothing, even at the script level I have tried typing the url manually, and I have tried passing the url through the script. Many people have tried to help me on many different platforms as well! But, to no avail, NOTHING, and I mean NOTHING has worked. Basically the issue, the script gets up to the Video Download section, but it never downloads no matter how long I wait, even shorter videos, it says that the file can not be played (because of Pytube not fully getting the video). Someone please help me.
from pytube import YouTube
import time
print("The Youtube Video Downloader")
time.sleep(0.2)
print("\nBy: ViridianTelamon.")
time.sleep(0.2)
#url = input("\nInput The Full Url For The Youtube Video That You Want To Download (Shortened Urls Will Not Work): ")
url = input("\nInput The Url For The Video: ")
#print(f"Url Inputted: {url}")
#print(url)
video = YouTube(url)
time.sleep(0.2)
print("\n----------Video Title----------")
time.sleep(0.2)
print(video.title)
time.sleep(0.2)
print("\n----------Video Thumbnail Url----------")
time.sleep(0.2)
print(video.thumbnail_url)
time.sleep(2)
print("\n----------Video Download----------")
time.sleep(0.2)
video = video.streams.get_highest_resolution
video.download()
print("\nVideo Successful Downloaded In The Same Directory As This Script.")
video = video.streams.get_highest_resolution()
You forgot the ()
For function