I want to make a program that prints all the video names in a Playlist but i get " 'str' object is not callable" error on line 10. How can i fix it, thanks!
from pytube import YouTube
from pytube import Playlist
p = Playlist("https://www.youtube.com/watch?v=p6IIWuwdNIc&list=PL3-sRm8xAzY-556lOpSGH6wVzyofoGpzU")
for url in p.video_urls[:10]:
videourl = url
yt = YouTube(videourl)
videonames = yt.title()
print(videonames)