{"action":"created","issue":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/8257","labels_url":"https://api.github.com/repos/rg3/youtube-dl/issues/8257/labels{/name}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/8257/comments","events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/8257/events","html_url":"https://github.com/rg3/youtube-dl/issues/8257","id":127056141,"number":8257,"title":"ExtractorError: Could not find JS function u'pr' (yes, I have the latest version...)","user":{"login":"pelagisk","id":911191,"avatar_url":"https://avatars.githubusercontent.com/u/911191?v=3","gravatar_id":"","url":"https://api.github.com/users/pelagisk","html_url":"https://github.com/pelagisk","followers_url":"https://api.github.com/users/pelagisk/followers","following_url":"https://api.github.com/users/pelagisk/following{/other_user}","gists_url":"https://api.github.com/users/pelagisk/gists{/gist_id}","starred_url":"https://api.github.com/users/pelagisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelagisk/subscriptions","organizations_url":"https://api.github.com/users/pelagisk/orgs","repos_url":"https://api.github.com/users/pelagisk/repos","events_url":"https://api.github.com/users/pelagisk/events{/privacy}","received_events_url":"https://api.github.com/users/pelagisk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-16T22:00:04Z","updated_at":"2016-01-17T04:54:27Z","closed_at":"2016-01-16T22:00:35Z","body":"When trying to download some videos, I get the error (this is not the case for e.g. https://www.youtube.com/watch?v=bLHL75H_VEM). I saw that there were previous, similar issues but this still remains. My youtube-dl is installed through homebrew.\r\n\r\n```bash\r\nplanomenon:~ axelgagge$ youtube-dl -x --verbose https://www.youtube.com/watch?v=TwJn8Gx-1Qc\r\n[debug] System config: []\r\n[debug] User config: []\r\n[debug] Command-line args: [u'-x', u'--verbose', u'https://www.youtube.com/watch?v=TwJn8Gx-1Qc']\r\n[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8\r\n[debug] youtube-dl version 2015.12.13\r\n[debug] Python version 2.7.10 - Darwin-14.5.0-x86_64-i386-64bit\r\n[debug] exe versions: ffmpeg 2.8, ffprobe 2.8\r\n[debug] Proxy map: {}\r\n[youtube] TwJn8Gx-1Qc: Downloading webpage\r\n[youtube] TwJn8Gx-1Qc: Downloading video info webpage\r\n[youtube] TwJn8Gx-1Qc: Extracting video information\r\n[youtube] {43} signature length 41.43, html5 player en_US-vflGR-A-c\r\n[youtube] TwJn8Gx-1Qc: Downloading player https://s.ytimg.com/yts/jsbin/player-en_US-vflGR-A-c/base.js\r\nERROR: Signature extraction failed: Traceback (most recent call last):\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py\", line 877, in _decrypt_signature\r\n    video_id, player_url, s\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py\", line 792, in _extract_signature_function\r\n    res = self._parse_sig_js(code)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py\", line 855, in _parse_sig_js\r\n    initial_function = jsi.extract_function(funcname)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py\", line 241, in extract_function\r\n    raise ExtractorError('Could not find JS function %r' % funcname)\r\nExtractorError: Could not find JS function u'pr'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.\r\n (caused by ExtractorError(u\"Could not find JS function u'pr'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.\",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py\", line 877, in _decrypt_signature\r\n    video_id, player_url, s\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py\", line 792, in _extract_signature_function\r\n    res = self._parse_sig_js(code)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py\", line 855, in _parse_sig_js\r\n    initial_function = jsi.extract_function(funcname)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py\", line 241, in extract_function\r\n    raise ExtractorError('Could not find JS function %r' % funcname)\r\nExtractorError: Could not find JS function u'pr'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 663, in extract_info\r\n    ie_result = ie.extract(url)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py\", line 290, in extract\r\n    return self._real_extract(url)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py\", line 1431, in _real_extract\r\n    encrypted_sig, video_id, player_url, age_gate)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py\", line 887, in _decrypt_signature\r\n    'Signature extraction failed: ' + tb, cause=e)\r\nExtractorError: Signature extraction failed: Traceback (most recent call last):\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py\", line 877, in _decrypt_signature\r\n    video_id, player_url, s\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py\", line 792, in _extract_signature_function\r\n    res = self._parse_sig_js(code)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py\", line 855, in _parse_sig_js\r\n    initial_function = jsi.extract_function(funcname)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py\", line 241, in extract_function\r\n    raise ExtractorError('Could not find JS function %r' % funcname)\r\nExtractorError: Could not find JS function u'pr'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.\r\n (caused by ExtractorError(u\"Could not find JS function u'pr'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.\",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.\r\n```"},"comment":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/comments/172291853","html_url":"https://github.com/rg3/youtube-dl/issues/8257#issuecomment-172291853","issue_url":"https://api.github.com/repos/rg3/youtube-dl/issues/8257","id":172291853,"user":{"login":"phihag","id":779568,"avatar_url":"https://avatars.githubusercontent.com/u/779568?v=3","gravatar_id":"","url":"https://api.github.com/users/phihag","html_url":"https://github.com/phihag","followers_url":"https://api.github.com/users/phihag/followers","following_url":"https://api.github.com/users/phihag/following{/other_user}","gists_url":"https://api.github.com/users/phihag/gists{/gist_id}","starred_url":"https://api.github.com/users/phihag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phihag/subscriptions","organizations_url":"https://api.github.com/users/phihag/orgs","repos_url":"https://api.github.com/users/phihag/repos","events_url":"https://api.github.com/users/phihag/events{/privacy}","received_events_url":"https://api.github.com/users/phihag/received_events","type":"User","site_admin":false},"created_at":"2016-01-17T04:54:27Z","updated_at":"2016-01-17T04:54:27Z","body":"To clarify: You can see the latest version at https://yt-dl.org/latest/version. As of writing, it's 2016.01.15. YouTube changed their player around December 20th 2015. As you can see in the sixth line of your output, your current version is 2015.12.13, so you need to [update](https://yt-dl.org/update)."}}