{"action":"opened","issue":{"url":"https://api.github.com/repos/nishad/udemy-dl/issues/119","repository_url":"https://api.github.com/repos/nishad/udemy-dl","labels_url":"https://api.github.com/repos/nishad/udemy-dl/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/nishad/udemy-dl/issues/119/comments","events_url":"https://api.github.com/repos/nishad/udemy-dl/issues/119/events","html_url":"https://github.com/nishad/udemy-dl/issues/119","id":162021969,"number":119,"title":"[BUG] Can't log in","user":{"login":"fpietka","id":150428,"avatar_url":"https://avatars.githubusercontent.com/u/150428?v=3","gravatar_id":"","url":"https://api.github.com/users/fpietka","html_url":"https://github.com/fpietka","followers_url":"https://api.github.com/users/fpietka/followers","following_url":"https://api.github.com/users/fpietka/following{/other_user}","gists_url":"https://api.github.com/users/fpietka/gists{/gist_id}","starred_url":"https://api.github.com/users/fpietka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpietka/subscriptions","organizations_url":"https://api.github.com/users/fpietka/orgs","repos_url":"https://api.github.com/users/fpietka/repos","events_url":"https://api.github.com/users/fpietka/events{/privacy}","received_events_url":"https://api.github.com/users/fpietka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-23T20:59:57Z","updated_at":"2016-06-23T20:59:57Z","closed_at":null,"body":"Please prefix your issue with one of the following: [BUG], [PROPOSAL], [QUESTION].\r\n\r\nReplace everything between stars with current version of your udemy-dl (output of udemy-dl -v):  \r\nVersion : **X.X.X**\r\n\r\n**In raising this issue, I confirm the following (please check boxes, eg [X]):**\r\n\r\n- [ ] I have read and understood the [contributors guide](https://github.com/nishad/udemy-dl/blob/master/.github/CONTRIBUTING.md).\r\n- [ ] I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.\r\n- [ ] I have checked that the issue I'm posting isn't already reported.\r\n- [ ] I have checked that the issue I'm porting isn't already solved and no duplicates exist in [closed issues](https://github.com/nishad/udemy-dl/issues?q=is%3Aissue+is%3Aclosed) and in [opened issues](https://github.com/nishad/udemy-dl/issues)\r\n- [ ] I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.\r\n\r\n**My familiarity with the project is as follows (check one, eg [X]):**\r\n\r\n- [ ] I have never used the project.\r\n- [ ] I have used the project briefly.\r\n- [ ] I have used the project extensively, but have not contributed previously.\r\n- [ ] I am an active contributor to the project.\r\n\r\n**If the project maintainer has any additional requirements, they will be listed here.**\r\n\r\n- No additional requirements.\r\n\r\n---\r\n\r\nHi, I'm on Linux (if that matter).\r\nWhen I try to donwload a course, right after typing my credential I get the following:\r\n```\r\n[INFO-107] Trying to log in ...\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/udemy-dl\", line 7, in <module>\r\n    main()\r\n  File \"/usr/local/lib/python2.7/dist-packages/udemy_dl/udemy_dl.py\", line 837, in main\r\n    udemy_dl(username, password, link, lecture_start, lecture_end, save_links, safe_file_names, just_list, output_dest)\r\n  File \"/usr/local/lib/python2.7/dist-packages/udemy_dl/udemy_dl.py\", line 658, in udemy_dl\r\n    login(username, password)\r\n  File \"/usr/local/lib/python2.7/dist-packages/udemy_dl/udemy_dl.py\", line 109, in login\r\n    csrf_token = get_csrf_token()\r\n  File \"/usr/local/lib/python2.7/dist-packages/udemy_dl/udemy_dl.py\", line 95, in get_csrf_token\r\n    response = session.get('https://www.udemy.com/join/login-popup')\r\n  File \"/usr/local/lib/python2.7/dist-packages/udemy_dl/udemy_dl.py\", line 66, in get\r\n    return self.session.get(url, headers=self.headers)\r\n  File \"/usr/lib/python2.7/dist-packages/requests/sessions.py\", line 467, in get\r\n    return self.request('GET', url, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/requests/sessions.py\", line 455, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/requests/sessions.py\", line 558, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/requests/adapters.py\", line 330, in send\r\n    timeout=timeout\r\n  File \"/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py\", line 562, in urlopen\r\n    body=body, headers=headers)\r\n  File \"/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py\", line 387, in _make_request\r\n    conn.request(method, url, **httplib_request_kw)\r\n  File \"/usr/lib/python2.7/httplib.py\", line 979, in request\r\n    self._send_request(method, url, body, headers)\r\n  File \"/usr/lib/python2.7/httplib.py\", line 1013, in _send_request\r\n    self.endheaders(body)\r\n  File \"/usr/lib/python2.7/httplib.py\", line 975, in endheaders\r\n    self._send_output(message_body)\r\n  File \"/usr/lib/python2.7/httplib.py\", line 835, in _send_output\r\n    self.send(msg)\r\n  File \"/usr/lib/python2.7/httplib.py\", line 797, in send\r\n    self.connect()\r\n  File \"/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py\", line 145, in connect\r\n    match_hostname(self.sock.getpeercert(),\r\n  File \"/usr/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py\", line 313, in getpeercert\r\n    for value in get_subj_alt_name(x509)\r\n  File \"/usr/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py\", line 94, in get_subj_alt_name\r\n    asn1Spec=general_names)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pyasn1/codec/ber/decoder.py\", line 825, in __call__\r\n    stGetValueDecoder, self, substrateFun\r\n  File \"/usr/local/lib/python2.7/dist-packages/pyasn1/codec/ber/decoder.py\", line 391, in valueDecoder\r\n    r.verifySizeSpec()\r\n  File \"/usr/local/lib/python2.7/dist-packages/pyasn1/type/base.py\", line 252, in verifySizeSpec\r\n    def verifySizeSpec(self): self._sizeSpec(self)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pyasn1/type/constraint.py\", line 32, in __call__\r\n    '%s failed at: \\\"%s\\\"' % (self, sys.exc_info()[1])\r\n```\r\n"}}
{"actor":{"display_login":"fpietka"}}