from pytube import YouTube link = input("Enter the video link here ->") y_tube = YouTube(link) print(y_tube.title) Enter the video link here ->https://youtu.be/rkR4sFODnIM?si=FqDP5s3TEDCMStqz Traceback (most recent call last): File "C:\Users\kumar_0nqo0ht\AppData\Local\Programs\Python\Python311\Lib\site-packages\pytube_main_.py", line 341, in title self._title = self.vid_info['videoDetails']['title'] ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ KeyError: 'videoDetails' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\Projects\videodownloader\main.py", line 8, in print(f'y_tube.Title->{y_tube.title}') ^^^^^^^^^^^^ File "C:\Users\kumar_0nqo0ht\AppData\Local\Programs\Python\Python311\Lib\site-packages\pytube_main_.py", line 346, in title raise exceptions.PytubeError( pytube.exceptions.PytubeError: Exception while accessing title of https://youtube.com/watch?v=rkR4sFODnIM. Please file a bug report at https://github.com/pytube/pytube Continue reading...