pytube.exceptions.CipherError: Couldn't cipher the signature.
See original GitHub issuePy27, OSX & CentOS 6.5, latest pip, latest pytube.
Steps to recreate:
`>>> from pytube import YouTube
yt = YouTube() yt.from_url(“https://www.youtube.com/watch?v=162yTv8rOS8”) Traceback (most recent call last): File “<stdin>”, line 1, in <module> File “/usr/local/lib/python2.7/site-packages/pytube/api.py”, line 189, in from_url signature = self._get_cipher(stream_map[“s”][i], js_url) File “/usr/local/lib/python2.7/site-packages/pytube/api.py”, line 379, in _get_cipher “issue on GitHub: {0}”.format(e)) pytube.exceptions.CipherError: Couldn’t cipher the signature. Maybe YouTube has changed the cipher algorithm. Notify this issue on GitHub: Could not find JS function u’ur’`
I’ve just noticed this as of today – perhaps YT’s changed their frontend junk again?
Issue Analytics
- State:
- Created 7 years ago
- Comments:7
Top GitHub Comments
Don’t be lazy – please merge this soon 😃
@Vaaron @ebelliveau all fixed.
pip install -U pytube