这是代码...如何解决此问题?
>>> from pytube import YouTube
>>> v=YouTube('https://www.youtube.com/watch?v=Wl2OyaZVU3U')
>>> v.title
'Maroon 5 - Memories (Lyrics)'
>>> v.streams
<pytube.query.StreamQuery object at 0x7f76859e3a20>
>>> v.download()
Traceback (most recent call last):
File "<pyshell#9>", line 1, in <module>
v.download()
AttributeError: 'YouTube' object has no attribute 'download'
感谢您的帮助。
>>> YouTube('http://youtube.com/watch?v=9bZkp7q19f0').streams.first().download()