ValueError: too many values to unpack (expected 2)
See original GitHub issueRan into this error in my main file i was using.
So i made the most basic version i could and still got that error. Running in python 3.8 64 bit
from pytube import YouTube
yt = YouTube('https://www.youtube.com/watch?v=jNQXAC9IVRw')
Error thrown:
Traceback (most recent call last): File "c:\Users\user\Documents\My scripting projects\yt download testr\test.py", line 4, in <module> yt = YouTube('https://www.youtube.com/watch?v=jNQXAC9IVRw') File "C:\Python38\lib\site-packages\pytube\__main__.py", line 92, in __init__ self.descramble() File "C:\Python38\lib\site-packages\pytube\__main__.py", line 140, in descramble apply_signature(self.player_config_args, fmt, self.js) File "C:\Python38\lib\site-packages\pytube\extract.py", line 225, in apply_signature cipher = Cipher(js=js) File "C:\Python38\lib\site-packages\pytube\cipher.py", line 31, in __init__ var, _ = self.transform_plan[0].split(".") ValueError: too many values to unpack (expected 2)
Is it just me or are you guys getting this error also?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:34
- Comments:41 (4 by maintainers)
Top GitHub Comments
PR Open: https://github.com/nficano/pytube/pull/701
I patched and hosted this again. Looks like there was a merge conflict between this PR and #643
You can install directly from my repo like this:
or add the following to your
requirements.txt