forked from pytube/pytube
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pytube 3 keyError: 'assets' #108
Comments
here is the solution |
it didnt help me |
What error are you getting? |
Same error |
Download the original pytube from github https://github.com/nficano/pytube |
Copy code from codebas still not work for me, too... |
what version of python are you using? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to download video from youtube. I installed pytube pip install pytube3. when I am trying to download a video it gives me this error
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\OKAN\AppData\Roaming\Python\Python38\site-packages\pytube_main_.py", line 91, in init
self.prefetch()
File "C:\Users\OKAN\AppData\Roaming\Python\Python38\site-packages\pytube_main_.py", line 183, in prefetch
self.js_url = extract.js_url(self.watch_html)
File "C:\Users\OKAN\AppData\Roaming\Python\Python38\site-packages\pytube\extract.py", line 143, in js_url
base_js = get_ytplayer_config(html)["assets"]["js"]
KeyError: 'assets'
The text was updated successfully, but these errors were encountered: