I Was Making A youtube Video downloader with python Unfortuetly I got some error
code:-
'''
from pytube import *
url = input("Enter The URL of The Youtube Video")
path = input("Where Do YOu Want To Download That Video (Path)")
youtube = pytube.Youtube(url)
video = youtube.streams.get_highest_resolution()
video.Download(path)
video.titile
video.video_id
''' '''错误:-
PS E:\Media\Desktop\PythON\TempFiles> cd 'e:\Media\Desktop\PythON\TempFiles'; & 'C:\Users\Harish\AppData\Local\Programs\Python\Python38\python.exe' 'c:\Users\Harish\.vscode\extensions\ms-python.python-2020.7.96456\pythonFiles\lib\python\debugpy\launcher' '61995' '--' 'e:\Media\Desktop\PythON\TempFiles\YoutubeVideoDownloader.py'
Traceback (most recent call last):
File "e:\Media\Desktop\PythON\TempFiles\YoutubeVideoDownloader.py", line 1, in <module>
from pytube import *
File "C:\Users\Harish\AppData\Local\Programs\Python\Python38\lib\site-packages\pytube\__init__.py", line 16, in <module>
from pytube.streams import Stream
File "C:\Users\Harish\AppData\Local\Programs\Python\Python38\lib\site-packages\pytube\streams.py", line 17, in <module>
from pytube import extract
File "C:\Users\Harish\AppData\Local\Programs\Python\Python38\lib\site-packages\pytube\extract.py", line 7, in <module>
from pytube.compat import quote
ImportError: cannot import name 'quote' from 'pytube.compat' (C:\Users\Harish\AppData\Local\Programs\Python\Python38\lib\site-packages\pytube\compat.py)
PS E:\Media\Desktop\PythON\TempFiles>
'''
希望您将解决此问题 或者,如果您有任何建议,请评论并说出我是Begginer的建议,这样,如果您看到我的问题,并且解决此问题,对我来说将非常好