{"action":"closed","issue":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/5031","labels_url":"https://api.github.com/repos/rg3/youtube-dl/issues/5031/labels{/name}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/5031/comments","events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/5031/events","html_url":"https://github.com/rg3/youtube-dl/issues/5031","id":58561320,"number":5031,"title":"Youtube: \"Could not find JS function 'PF'\"","user":{"login":"brunal","id":921168,"avatar_url":"https://avatars.githubusercontent.com/u/921168?v=3","gravatar_id":"","url":"https://api.github.com/users/brunal","html_url":"https://github.com/brunal","followers_url":"https://api.github.com/users/brunal/followers","following_url":"https://api.github.com/users/brunal/following{/other_user}","gists_url":"https://api.github.com/users/brunal/gists{/gist_id}","starred_url":"https://api.github.com/users/brunal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunal/subscriptions","organizations_url":"https://api.github.com/users/brunal/orgs","repos_url":"https://api.github.com/users/brunal/repos","events_url":"https://api.github.com/users/brunal/events{/privacy}","received_events_url":"https://api.github.com/users/brunal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-23T09:22:47Z","updated_at":"2015-02-23T09:41:33Z","closed_at":"2015-02-23T09:41:33Z","body":"Hi,\r\n`youtube-dl` fails to dowload some videos from youtube.\r\n\r\n```\r\n$ youtube-dl --version\r\n2015.02.11\r\n$ youtube-dl --verbose https://www.youtube.com/watch?v=vmdldp6OgcI\r\n[debug] System config: []\r\n[debug] User config: []\r\n[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=vmdldp6OgcI']\r\n[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8\r\n[debug] youtube-dl version 2015.02.11\r\n[debug] Python version 3.4.2 - Linux-3.18.6-1-ARCH-x86_64-with-arch\r\n[debug] exe versions: ffmpeg 2.5.4, ffprobe 2.5.4, rtmpdump 2.4\r\n[debug] Proxy map: {}\r\n[youtube] vmdldp6OgcI: Downloading webpage\r\n[youtube] vmdldp6OgcI: Extracting video information\r\n[youtube] {22} signature length 40.41, html5 player en_US-vflF2Mg88\r\n[youtube] vmdldp6OgcI: Downloading js player en_US-vflF2Mg88\r\nERROR: Signature extraction failed: Traceback (most recent call last):\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py\", line 635, in _decrypt_signature\r\n    video_id, player_url, s\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py\", line 549, in _extract_signature_function\r\n    res = self._parse_sig_js(code)\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py\", line 613, in _parse_sig_js\r\n    initial_function = jsi.extract_function(funcname)\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/jsinterp.py\", line 244, in extract_function\r\n    raise ExtractorError('Could not find JS function %r' % funcname)\r\nyoutube_dl.utils.ExtractorError: Could not find JS function 'PF'; 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(\"Could not find JS function 'PF'; 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/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py\", line 635, in _decrypt_signature\r\n    video_id, player_url, s\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py\", line 549, in _extract_signature_function\r\n    res = self._parse_sig_js(code)\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py\", line 613, in _parse_sig_js\r\n    initial_function = jsi.extract_function(funcname)\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/jsinterp.py\", line 244, in extract_function\r\n    raise ExtractorError('Could not find JS function %r' % funcname)\r\nyoutube_dl.utils.ExtractorError: Could not find JS function 'PF'; 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/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py\", line 635, in _decrypt_signature\r\n    video_id, player_url, s\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py\", line 549, in _extract_signature_function\r\n    res = self._parse_sig_js(code)\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py\", line 613, in _parse_sig_js\r\n    initial_function = jsi.extract_function(funcname)\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/jsinterp.py\", line 244, in extract_function\r\n    raise ExtractorError('Could not find JS function %r' % funcname)\r\nyoutube_dl.utils.ExtractorError: Could not find JS function 'PF'; 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\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py\", line 633, in extract_info\r\n    ie_result = ie.extract(url)\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py\", line 270, in extract\r\n    return self._real_extract(url)\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py\", line 1066, in _real_extract\r\n    encrypted_sig, video_id, player_url, age_gate)\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py\", line 645, in _decrypt_signature\r\n    'Signature extraction failed: ' + tb, cause=e)\r\nyoutube_dl.utils.ExtractorError: Signature extraction failed: Traceback (most recent call last):\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py\", line 635, in _decrypt_signature\r\n    video_id, player_url, s\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py\", line 549, in _extract_signature_function\r\n    res = self._parse_sig_js(code)\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py\", line 613, in _parse_sig_js\r\n    initial_function = jsi.extract_function(funcname)\r\n  File \"/usr/lib/python3.4/site-packages/youtube_dl/jsinterp.py\", line 244, in extract_function\r\n    raise ExtractorError('Could not find JS function %r' % funcname)\r\nyoutube_dl.utils.ExtractorError: Could not find JS function 'PF'; 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(\"Could not find JS function 'PF'; 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```"}}