{"action":"created","issue":{"url":"https://api.github.com/repos/soimort/you-get/issues/1885","repository_url":"https://api.github.com/repos/soimort/you-get","labels_url":"https://api.github.com/repos/soimort/you-get/issues/1885/labels{/name}","comments_url":"https://api.github.com/repos/soimort/you-get/issues/1885/comments","events_url":"https://api.github.com/repos/soimort/you-get/issues/1885/events","html_url":"https://github.com/soimort/you-get/issues/1885","id":223283953,"number":1885,"title":"Can not download Youtube video with no reason, can not even check the '-info'","user":{"login":"nonjohn","id":20375795,"avatar_url":"https://avatars0.githubusercontent.com/u/20375795?v=3","gravatar_id":"","url":"https://api.github.com/users/nonjohn","html_url":"https://github.com/nonjohn","followers_url":"https://api.github.com/users/nonjohn/followers","following_url":"https://api.github.com/users/nonjohn/following{/other_user}","gists_url":"https://api.github.com/users/nonjohn/gists{/gist_id}","starred_url":"https://api.github.com/users/nonjohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nonjohn/subscriptions","organizations_url":"https://api.github.com/users/nonjohn/orgs","repos_url":"https://api.github.com/users/nonjohn/repos","events_url":"https://api.github.com/users/nonjohn/events{/privacy}","received_events_url":"https://api.github.com/users/nonjohn/received_events","type":"User","site_admin":false},"labels":[{"id":11999823,"url":"https://api.github.com/repos/soimort/you-get/labels/invalid","name":"invalid","color":"e6e6e6","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-21T05:52:08Z","updated_at":"2017-04-21T05:52:12Z","closed_at":null,"body":"Please make sure these boxes are checked before submitting your issue – thank you!\r\n\r\n- [ ] You can actually watch the video in your browser or mobile application, but not download them with `you-get`.\r\n- [ ] Your `you-get` is up-to-date.\r\n- [ ] I have read <https://github.com/soimort/you-get/wiki/FAQ> and tried to do so.\r\n- [ ] The issue is not yet reported on <https://github.com/soimort/you-get/issues> or  <https://github.com/soimort/you-get/wiki/Known-Bugs>. If so, please add your comments under the existing issue.\r\n- [ ] The issue (or question) is really about `you-get`, not about some other code or project.\r\n\r\nRun the command with the `--debug` option, and paste the full output inside the fences:\r\n\r\n```\r\n[PASTE IN ME]\r\n```\r\n\r\nIf there's anything else you would like to say (e.g. in case your issue is not about downloading a specific video; it might as well be a general discussion or proposal for a new feature), fill in the box below; otherwise, you may want to post an emoji or meme instead:\r\n\r\n> [WRITE SOMETHING]\r\n> [OR HAVE SOME :icecream:!]\r\n\r\n汉语翻译最终日期：2016年02月26日\r\n\r\n在提交前，请确保您已经检查了以下内容!\r\n\r\n- [ ] 你可以在浏览器或移动端中观看视频，但不能使用`you-get`下载.\r\n- [ ] 您的`you-get`为最新版.\r\n- [ ] 我已经阅读并按 <https://github.com/soimort/you-get/wiki/FAQ> 中的指引进行了操作.\r\n- [ ] 您的问题没有在<https://github.com/soimort/you-get/issues> , <https://github.com/soimort/you-get/wiki/FAQ> 或 <https://github.com/soimort/you-get/wiki/Known-Bugs> 报告，否则请在原有issue下报告.\r\n- [ ] 本问题确实关于`you-get`, 而不是其他项目.\r\n\r\n请使用`--debug`运行，并将输出粘贴在下面:\r\n\r\n```\r\n[DEBUG] get_content: https://www.youtube.com/get_video_info?video_id=3Ky9MZyL8r4\r\nyou-get: version 0.4.715, a tiny downloader that scrapes the web.\r\nyou-get: ['https://www.youtube.com/watch?v=3Ky9MZyL8r4']\r\nTraceback (most recent call last):\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py\", line 1318, in do_open\r\n    encode_chunked=req.has_header('Transfer-encoding'))\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py\", line 1239, in request\r\n    self._send_request(method, url, body, headers, encode_chunked)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py\", line 1285, in _send_request\r\n    self.endheaders(body, encode_chunked=encode_chunked)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py\", line 1234, in endheaders\r\n    self._send_output(message_body, encode_chunked=encode_chunked)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py\", line 1026, in _send_output\r\n    self.send(msg)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py\", line 964, in send\r\n    self.connect()\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py\", line 1400, in connect\r\n    server_hostname=server_hostname)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py\", line 401, in wrap_socket\r\n    _context=self, _session=session)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py\", line 808, in __init__\r\n    self.do_handshake()\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py\", line 1061, in do_handshake\r\n    self._sslobj.do_handshake()\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py\", line 683, in do_handshake\r\n    self._sslobj.do_handshake()\r\nssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/bin/you-get\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/you_get/__main__.py\", line 92, in main\r\n    main(**kwargs)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/you_get/common.py\", line 1429, in main\r\n    script_main('you-get', any_download, any_download_playlist, **kwargs)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/you_get/common.py\", line 1342, in script_main\r\n    download_main(download, download_playlist, args, playlist, output_dir=output_dir, merge=merge, info_only=info_only, json_output=json_output, caption=caption)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/you_get/common.py\", line 1158, in download_main\r\n    download(url, **kwargs)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/you_get/common.py\", line 1422, in any_download\r\n    m.download(url, **kwargs)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/you_get/extractor.py\", line 41, in download_by_url\r\n    self.prepare(**kwargs)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/you_get/extractors/youtube.py\", line 143, in prepare\r\n    video_info = parse.parse_qs(get_content('https://www.youtube.com/get_video_info?video_id={}'.format(self.vid)))\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/you_get/common.py\", line 333, in get_content\r\n    response = urlopen_with_retry(req)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/you_get/common.py\", line 310, in urlopen_with_retry\r\n    return request.urlopen(*args, **kwargs)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py\", line 223, in urlopen\r\n    return opener.open(url, data, timeout)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py\", line 526, in open\r\n    response = self._open(req, data)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py\", line 544, in _open\r\n    '_open', req)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py\", line 504, in _call_chain\r\n    result = func(*args)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py\", line 1361, in https_open\r\n    context=self._context, check_hostname=self._check_hostname)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py\", line 1320, in do_open\r\n    raise URLError(err)\r\nurllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>\r\n```\r\n\r\n如果您有其他附言，例如问题只在某个视频发生，或者是一般性讨论或者提出新功能，请在下面添加;或者您可以卖个萌:\r\n\r\n> [您的内容]\r\n> [舔 :icecream:!]\r\n"},"comment":{"url":"https://api.github.com/repos/soimort/you-get/issues/comments/296080474","html_url":"https://github.com/soimort/you-get/issues/1885#issuecomment-296080474","issue_url":"https://api.github.com/repos/soimort/you-get/issues/1885","id":296080474,"user":{"login":"soimort-bot","id":16379620,"avatar_url":"https://avatars3.githubusercontent.com/u/16379620?v=3","gravatar_id":"","url":"https://api.github.com/users/soimort-bot","html_url":"https://github.com/soimort-bot","followers_url":"https://api.github.com/users/soimort-bot/followers","following_url":"https://api.github.com/users/soimort-bot/following{/other_user}","gists_url":"https://api.github.com/users/soimort-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/soimort-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soimort-bot/subscriptions","organizations_url":"https://api.github.com/users/soimort-bot/orgs","repos_url":"https://api.github.com/users/soimort-bot/repos","events_url":"https://api.github.com/users/soimort-bot/events{/privacy}","received_events_url":"https://api.github.com/users/soimort-bot/received_events","type":"User","site_admin":false},"created_at":"2017-04-21T05:52:12Z","updated_at":"2017-04-21T05:52:12Z","body":"Hey, I got an error too! (`you-get=soimort:develop` b314985645aafd6ec51a24d8aa36a3119680aaff)\n\n```\n$ you-get -di https://www.youtube.com/watch?v=3Ky9MZyL8r4\n[DEBUG] get_content: https://www.youtube.com/get_video_info?video_id=3Ky9MZyL8r4\n[DEBUG] get_content: https://www.youtube.com/watch?v=3Ky9MZyL8r4\n[DEBUG] get_content: https://www.youtube.com/api/timedtext?expire=1492779130&hl=en_US&signature=AA294893CEA22460DEB22A01E84D91108BB93C0D.A9054799D5EE75054B84BCE4EF8EB1F83207F51D&v=3Ky9MZyL8r4&sparams=asr_langs%2Ccaps%2Cv%2Cexpire&caps=asr&key=yttt1&asr_langs=pt%2Cen%2Ces%2Cnl%2Cja%2Cfr%2Cde%2Cit%2Cko%2Cru&kind=asr&lang=en\n[DEBUG] get_content: https://www.youtube.com/yts/jsbin/player-en_US-vflchU0AK/base.js\n\n```\n\nPython version: `3.5.1`\nGeoIP location: **US, United States**\nTimestamp: *2017-04-21T05:52:13.168Z*"}}
{"actor":{"display_login":"soimort-bot"}}