Closed johannesfk closed 7 years ago
When i try to play music from youtubei get this error listed below. It is only with some songs. Strange.
Please help me or fix it. It started to happen 2 days ago. it used to work before.
Me: !play https://www.youtube.com/watch?v=OuNy7U4_FZE
!play https://www.youtube.com/watch?v=OuNy7U4_FZE
Bot: [0;31mERROR:[0m Signature extraction failed: Traceback (most recent call last): File "/usr/local/lib/python3.5/site-packages/youtube_dl/extractor/youtube.py", line 1011, in _decrypt_signature video_id, player_url, s File "/usr/local/lib/python3.5/site-packages/youtube_dl/extractor/youtube.py", line 925, in _extract_signature_function errnote='Download of %s failed' % player_url) File "/usr/local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 519, in _download_webpage res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query) File "/usr/local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 426, in _download_webpage_handle urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query) File "/usr/local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 406, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 2000, in urlopen req = sanitized_Request(req) File "/usr/local/lib/python3.5/site-packages/youtube_dl/utils.py", line 524, in sanitized_Request return compat_urllib_request.Request(sanitize_url(url), *args, **kwargs) File "/usr/local/lib/python3.5/urllib/request.py", line 268, in __init__ self.full_url = url File "/usr/local/lib/python3.5/urllib/request.py", line 294, in full_url self._parse() File "/usr/local/lib/python3.5/urllib/request.py", line 323, in _parse raise ValueError("unknown url type: %r" % self.full_url) ValueError: unknown url type: '/yts/jsbin/player-en_US-vflkk7pUE/base.js' (caused by ValueError("unknown url type: '/yts/jsbin/player-en_US-vflkk7pUE/base.js'",))
[0;31mERROR:[0m Signature extraction failed: Traceback (most recent call last): File "/usr/local/lib/python3.5/site-packages/youtube_dl/extractor/youtube.py", line 1011, in _decrypt_signature video_id, player_url, s File "/usr/local/lib/python3.5/site-packages/youtube_dl/extractor/youtube.py", line 925, in _extract_signature_function errnote='Download of %s failed' % player_url) File "/usr/local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 519, in _download_webpage res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query) File "/usr/local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 426, in _download_webpage_handle urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query) File "/usr/local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 406, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 2000, in urlopen req = sanitized_Request(req) File "/usr/local/lib/python3.5/site-packages/youtube_dl/utils.py", line 524, in sanitized_Request return compat_urllib_request.Request(sanitize_url(url), *args, **kwargs) File "/usr/local/lib/python3.5/urllib/request.py", line 268, in __init__ self.full_url = url File "/usr/local/lib/python3.5/urllib/request.py", line 294, in full_url self._parse() File "/usr/local/lib/python3.5/urllib/request.py", line 323, in _parse raise ValueError("unknown url type: %r" % self.full_url) ValueError: unknown url type: '/yts/jsbin/player-en_US-vflkk7pUE/base.js' (caused by ValueError("unknown url type: '/yts/jsbin/player-en_US-vflkk7pUE/base.js'",))
update_deps.bat
python3.5 -m pip install --upgrade -r requirements.txt
update_macdeps.command
You can also update ytdl manually using the command sudo pip install -U youtube-dl.
sudo pip install -U youtube-dl
Thanks!
When i try to play music from youtubei get this error listed below. It is only with some songs. Strange.
Please help me or fix it. It started to happen 2 days ago. it used to work before.
Me:
!play https://www.youtube.com/watch?v=OuNy7U4_FZE
Bot:
[0;31mERROR:[0m Signature extraction failed: Traceback (most recent call last): File "/usr/local/lib/python3.5/site-packages/youtube_dl/extractor/youtube.py", line 1011, in _decrypt_signature video_id, player_url, s File "/usr/local/lib/python3.5/site-packages/youtube_dl/extractor/youtube.py", line 925, in _extract_signature_function errnote='Download of %s failed' % player_url) File "/usr/local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 519, in _download_webpage res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query) File "/usr/local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 426, in _download_webpage_handle urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query) File "/usr/local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 406, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 2000, in urlopen req = sanitized_Request(req) File "/usr/local/lib/python3.5/site-packages/youtube_dl/utils.py", line 524, in sanitized_Request return compat_urllib_request.Request(sanitize_url(url), *args, **kwargs) File "/usr/local/lib/python3.5/urllib/request.py", line 268, in __init__ self.full_url = url File "/usr/local/lib/python3.5/urllib/request.py", line 294, in full_url self._parse() File "/usr/local/lib/python3.5/urllib/request.py", line 323, in _parse raise ValueError("unknown url type: %r" % self.full_url) ValueError: unknown url type: '/yts/jsbin/player-en_US-vflkk7pUE/base.js' (caused by ValueError("unknown url type: '/yts/jsbin/player-en_US-vflkk7pUE/base.js'",))