{"action":"created","issue":{"url":"https://api.github.com/repos/coursera-dl/coursera-dl/issues/673","repository_url":"https://api.github.com/repos/coursera-dl/coursera-dl","labels_url":"https://api.github.com/repos/coursera-dl/coursera-dl/issues/673/labels{/name}","comments_url":"https://api.github.com/repos/coursera-dl/coursera-dl/issues/673/comments","events_url":"https://api.github.com/repos/coursera-dl/coursera-dl/issues/673/events","html_url":"https://github.com/coursera-dl/coursera-dl/issues/673","id":333610606,"node_id":"MDU6SXNzdWUzMzM2MTA2MDY=","number":673,"title":"404 error","user":{"login":"imanbrouwer","id":532741,"node_id":"MDQ6VXNlcjUzMjc0MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/532741?v=4","gravatar_id":"","url":"https://api.github.com/users/imanbrouwer","html_url":"https://github.com/imanbrouwer","followers_url":"https://api.github.com/users/imanbrouwer/followers","following_url":"https://api.github.com/users/imanbrouwer/following{/other_user}","gists_url":"https://api.github.com/users/imanbrouwer/gists{/gist_id}","starred_url":"https://api.github.com/users/imanbrouwer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imanbrouwer/subscriptions","organizations_url":"https://api.github.com/users/imanbrouwer/orgs","repos_url":"https://api.github.com/users/imanbrouwer/repos","events_url":"https://api.github.com/users/imanbrouwer/events{/privacy}","received_events_url":"https://api.github.com/users/imanbrouwer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":34,"created_at":"2018-06-19T10:25:49Z","updated_at":"2018-07-21T11:44:07Z","closed_at":"2018-06-24T07:59:48Z","author_association":"NONE","body":"### Subject of the issue\r\nScript seems to log in properly, but gets a 404 error right away\r\nThere are other issue reports also with a 404 error, but my guess was that this is different since the error occurs before it even attempts to download content, but seems to occur ( guessing here ) that it occurs when asking what the content is.\r\n\r\n### Your environment\r\n* Operating System (name/version): Centos 7\r\n* Python version: Python 3.4.8\r\n* coursera-dl version: 0.11.2\r\n\r\n### Steps to reproduce\r\n../../my-coursera/coursera-dl/coursera-dl --debug -u xxx deep-neural-network\r\nCoursera password for xxx:\r\nroot[main] coursera_dl version 0.11.2\r\nroot[main] Downloading class: deep-neural-network (1 / 1)\r\nroot[download_class] Downloading new style (on demand) class deep-neural-network\r\nroot[login] Initiating login.\r\nroot[login] There were no .coursera.org cookies to be cleared.\r\nroot[prepare_auth_headers] Forging cookie header: csrftoken=RULpmQA3UxlqGyfBdQCN; csrf2_token_m3Seki7K=lXRyVMIfMgL74fVCUtPlgItd.\r\nurllib3.connectionpool[_new_conn] Starting new HTTPS connection (1): api.coursera.org:443\r\nurllib3.connectionpool[_make_request] https://api.coursera.org:443 \"POST /api/login/v3 HTTP/1.1\" 200 None\r\nroot[login] Logged in on coursera.org.\r\nurllib3.connectionpool[_make_request] https://api.coursera.org:443 \"GET /api/opencourse.v1/course/deep-neural-network?showLockedItems=true HTTP/1.1\" 404 56\r\nroot[get_reply] Error 404 Client Error: Not Found for url: https://api.coursera.org/api/opencourse.v1/course/deep-neural-network?showLockedItems=true getting page https://api.coursera.org/api/opencourse.v1/course/deep-neural-network?showLockedItems=true\r\nroot[get_reply] The server replied: {\"message\":\"\",\"statusCode\":404}\r\nroot[main] HTTPError 404 Client Error: Not Found for url: https://api.coursera.org/api/opencourse.v1/course/deep-neural-network?showLockedItems=true\r\nroot[main] HTTPError 404 Client Error: Not Found for url: https://api.coursera.org/api/opencourse.v1/course/deep-neural-network?showLockedItems=true\r\nTraceback (most recent call last):\r\n  File \"/mnt/data/ibrouwer2/projects/deep_learning_coursera/my-coursera/coursera-dl/coursera/coursera_dl.py\", line 238, in main\r\n    error_occurred, completed = download_class(args, class_name)\r\n  File \"/mnt/data/ibrouwer2/projects/deep_learning_coursera/my-coursera/coursera-dl/coursera/coursera_dl.py\", line 213, in download_class\r\n    return download_on_demand_class(args, class_name)\r\n  File \"/mnt/data/ibrouwer2/projects/deep_learning_coursera/my-coursera/coursera-dl/coursera/coursera_dl.py\", line 140, in download_on_demand_class\r\n    args.download_notebooks\r\n  File \"/mnt/data/ibrouwer2/projects/deep_learning_coursera/my-coursera/coursera-dl/coursera/extractors.py\", line 53, in get_modules\r\n    page = self._get_on_demand_syllabus(class_name)\r\n  File \"/mnt/data/ibrouwer2/projects/deep_learning_coursera/my-coursera/coursera-dl/coursera/extractors.py\", line 66, in _get_on_demand_syllabus\r\n    page = get_page(self._session, url)\r\n  File \"/mnt/data/ibrouwer2/projects/deep_learning_coursera/my-coursera/coursera-dl/coursera/network.py\", line 85, in get_page\r\n    reply = get_reply(session, url, post=post, data=data, headers=headers)\r\n  File \"/mnt/data/ibrouwer2/projects/deep_learning_coursera/my-coursera/coursera-dl/coursera/network.py\", line 47, in get_reply\r\n    reply.raise_for_status()\r\n  File \"/mnt/data/ibrouwer2/projects/deep_learning_coursera/my-coursera/lib/python3.4/site-packages/requests/models.py\", line 939, in raise_for_status\r\n    raise HTTPError(http_error_msg, response=self)\r\nrequests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.coursera.org/api/opencourse.v1/course/deep-neural-network?showLockedItems=true\r\n### Expected behaviour\r\nDownload some stuff!\r\n\r\n### Actual behaviour\r\nCrash right away \r\n"},"comment":{"url":"https://api.github.com/repos/coursera-dl/coursera-dl/issues/comments/406790022","html_url":"https://github.com/coursera-dl/coursera-dl/issues/673#issuecomment-406790022","issue_url":"https://api.github.com/repos/coursera-dl/coursera-dl/issues/673","id":406790022,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjc5MDAyMg==","user":{"login":"balta2ar","id":340676,"node_id":"MDQ6VXNlcjM0MDY3Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/340676?v=4","gravatar_id":"","url":"https://api.github.com/users/balta2ar","html_url":"https://github.com/balta2ar","followers_url":"https://api.github.com/users/balta2ar/followers","following_url":"https://api.github.com/users/balta2ar/following{/other_user}","gists_url":"https://api.github.com/users/balta2ar/gists{/gist_id}","starred_url":"https://api.github.com/users/balta2ar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balta2ar/subscriptions","organizations_url":"https://api.github.com/users/balta2ar/orgs","repos_url":"https://api.github.com/users/balta2ar/repos","events_url":"https://api.github.com/users/balta2ar/events{/privacy}","received_events_url":"https://api.github.com/users/balta2ar/received_events","type":"User","site_admin":false},"created_at":"2018-07-21T11:44:07Z","updated_at":"2018-07-21T11:44:07Z","author_association":"MEMBER","body":"```\r\npip install --upgrade coursera-dl\r\n```\r\nor\r\n```\r\npip install --user --upgrade coursera-dl\r\n```\r\n"}}
{"actor":{"display_login":"balta2ar"}}