{"action":"created","issue":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/7901","labels_url":"https://api.github.com/repos/rg3/youtube-dl/issues/7901/labels{/name}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/7901/comments","events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/7901/events","html_url":"https://github.com/rg3/youtube-dl/issues/7901","id":122941486,"number":7901,"title":"ExtractorError (\"Could not find JS function u'gr'\")","user":{"login":"Matricx-0","id":16350508,"avatar_url":"https://avatars.githubusercontent.com/u/16350508?v=3","gravatar_id":"","url":"https://api.github.com/users/Matricx-0","html_url":"https://github.com/Matricx-0","followers_url":"https://api.github.com/users/Matricx-0/followers","following_url":"https://api.github.com/users/Matricx-0/following{/other_user}","gists_url":"https://api.github.com/users/Matricx-0/gists{/gist_id}","starred_url":"https://api.github.com/users/Matricx-0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Matricx-0/subscriptions","organizations_url":"https://api.github.com/users/Matricx-0/orgs","repos_url":"https://api.github.com/users/Matricx-0/repos","events_url":"https://api.github.com/users/Matricx-0/events{/privacy}","received_events_url":"https://api.github.com/users/Matricx-0/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rg3/youtube-dl/labels/bug","name":"bug","color":"ff0303"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-18T12:35:31Z","updated_at":"2015-12-18T13:24:10Z","closed_at":"2015-12-18T12:57:57Z","body":"When using the youtube-dl with the following argument \r\n\"http://www.youtube.com/watch?v=FOP_PPavoLA --verbose\", the following verbose output is generated:\r\n\r\nyoutube-dl http://www.youtube.com/watch?v=FOP_PPavoLA\r\n[youtube] FOP_PPavoLA: Downloading webpage\r\n[youtube] FOP_PPavoLA: Downloading video info webpage\r\n[youtube] FOP_PPavoLA: Extracting video information\r\n[youtube] FOP_PPavoLA: Downloading js player en_US-vflXJM_5_\r\nERROR: Signature extraction failed: Traceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py\", line 877, in _decrypt_signature\r\n    video_id, player_url, s\r\n  File \"/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py\", line 792, in _extract_signature_function\r\n    res = self._parse_sig_js(code)\r\n  File \"/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py\", line 855, in _parse_sig_js\r\n    initial_function = jsi.extract_function(funcname)\r\n  File \"/usr/local/lib/python2.7/dist-packages/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'gr'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how 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'gr'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how 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; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.\r\npi@raspberrypi ~ $ youtube-dl http://www.youtube.com/watch?v=FOP_PPavoLA --verbose\r\n[debug] System config: []\r\n[debug] User config: []\r\n[debug] Command-line args: [u'http://www.youtube.com/watch?v=FOP_PPavoLA', u'--verbose']\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.3 - Linux-4.1.7-v7+-armv7l-with-debian-7.8\r\n[debug] exe versions: avconv 9.14-6, avprobe 9.14-6\r\n[debug] Proxy map: {}\r\n[youtube] FOP_PPavoLA: Downloading webpage\r\n[youtube] FOP_PPavoLA: Downloading video info webpage\r\n[youtube] FOP_PPavoLA: Extracting video information\r\n[youtube] {22} signature length 43.43, html5 player en_US-vflXJM_5_\r\n[youtube] FOP_PPavoLA: Downloading player https://s.ytimg.com/yts/jsbin/player-en_US-vflXJM_5_/base.js\r\nERROR: Signature extraction failed: Traceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py\", line 877, in _decrypt_signature\r\n    video_id, player_url, s\r\n  File \"/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py\", line 792, in _extract_signature_function\r\n    res = self._parse_sig_js(code)\r\n  File \"/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py\", line 855, in _parse_sig_js\r\n    initial_function = jsi.extract_function(funcname)\r\n  File \"/usr/local/lib/python2.7/dist-packages/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'gr'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how 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'gr'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how 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; see  https://yt-dl.org/update  on how 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/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py\", line 877, in _decrypt_signature\r\n    video_id, player_url, s\r\n  File \"/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py\", line 792, in _extract_signature_function\r\n    res = self._parse_sig_js(code)\r\n  File \"/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py\", line 855, in _parse_sig_js\r\n    initial_function = jsi.extract_function(funcname)\r\n  File \"/usr/local/lib/python2.7/dist-packages/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'gr'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how 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/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py\", line 663, in extract_info\r\n    ie_result = ie.extract(url)\r\n  File \"/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py\", line 290, in extract\r\n    return self._real_extract(url)\r\n  File \"/usr/local/lib/python2.7/dist-packages/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/lib/python2.7/dist-packages/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/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py\", line 877, in _decrypt_signature\r\n    video_id, player_url, s\r\n  File \"/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py\", line 792, in _extract_signature_function\r\n    res = self._parse_sig_js(code)\r\n  File \"/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py\", line 855, in _parse_sig_js\r\n    initial_function = jsi.extract_function(funcname)\r\n  File \"/usr/local/lib/python2.7/dist-packages/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'gr'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how 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'gr'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how 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; see  https://yt-dl.org/update  on how 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/165777389","html_url":"https://github.com/rg3/youtube-dl/issues/7901#issuecomment-165777389","issue_url":"https://api.github.com/repos/rg3/youtube-dl/issues/7901","id":165777389,"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":"2015-12-18T13:24:10Z","updated_at":"2015-12-18T13:24:10Z","body":"Thank you for the report. I believe this issue to be fixed in the current version of youtube-dl, 2015.12.18. See [our FAQ](https://yt-dl.org/update) if you need help updating."}}