{"action":"created","issue":{"url":"https://api.github.com/repos/shk3/edx-downloader/issues/220","labels_url":"https://api.github.com/repos/shk3/edx-downloader/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/shk3/edx-downloader/issues/220/comments","events_url":"https://api.github.com/repos/shk3/edx-downloader/issues/220/events","html_url":"https://github.com/shk3/edx-downloader/issues/220","id":82992076,"number":220,"title":"edx-dl bombs when downloading MIT's \"The Analytics Edge\"","user":{"login":"rbrito","id":212145,"avatar_url":"https://avatars.githubusercontent.com/u/212145?v=3","gravatar_id":"","url":"https://api.github.com/users/rbrito","html_url":"https://github.com/rbrito","followers_url":"https://api.github.com/users/rbrito/followers","following_url":"https://api.github.com/users/rbrito/following{/other_user}","gists_url":"https://api.github.com/users/rbrito/gists{/gist_id}","starred_url":"https://api.github.com/users/rbrito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbrito/subscriptions","organizations_url":"https://api.github.com/users/rbrito/orgs","repos_url":"https://api.github.com/users/rbrito/repos","events_url":"https://api.github.com/users/rbrito/events{/privacy}","received_events_url":"https://api.github.com/users/rbrito/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-31T04:04:16Z","updated_at":"2015-06-21T21:22:14Z","closed_at":null,"body":"The course URL is: https://courses.edx.org/courses/MITx/15.071x/1T2014/info\r\n\r\nI took a brief look (sorry, way past bed time here---it's more than 1AM) and it seems that the HTML of the dashboard is all messed up (don't know why), but we should not bomb with an unfriendly stack trace.\r\n\r\nThis is what I get, BTW:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"edx-dl.py\", line 6, in <module>\r\n    edx_dl.main()\r\n  File \"/home/rbrito/Desktop/cursos/edx-downloader/edx_dl/edx_dl.py\", line 630, in main\r\n    for selected_course in selected_courses}\r\n  File \"/home/rbrito/Desktop/cursos/edx-downloader/edx_dl/edx_dl.py\", line 630, in <dictcomp>\r\n    for selected_course in selected_courses}\r\n  File \"/home/rbrito/Desktop/cursos/edx-downloader/edx_dl/edx_dl.py\", line 198, in get_available_sections\r\n    for i, section_soup in enumerate(sections_soup, 1)]\r\n  File \"/home/rbrito/Desktop/cursos/edx-downloader/edx_dl/edx_dl.py\", line 176, in _make_url\r\n    return BASE_URL + section_soup.ul.find('a')['href']\r\nTypeError: 'NoneType' object has no attribute '__getitem__'\r\n```\r\n\r\nThanks,\r\n\r\nRogério Brito.\r\n"},"comment":{"url":"https://api.github.com/repos/shk3/edx-downloader/issues/comments/113961410","html_url":"https://github.com/shk3/edx-downloader/issues/220#issuecomment-113961410","issue_url":"https://api.github.com/repos/shk3/edx-downloader/issues/220","id":113961410,"user":{"login":"bish4u","id":11289598,"avatar_url":"https://avatars.githubusercontent.com/u/11289598?v=3","gravatar_id":"","url":"https://api.github.com/users/bish4u","html_url":"https://github.com/bish4u","followers_url":"https://api.github.com/users/bish4u/followers","following_url":"https://api.github.com/users/bish4u/following{/other_user}","gists_url":"https://api.github.com/users/bish4u/gists{/gist_id}","starred_url":"https://api.github.com/users/bish4u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bish4u/subscriptions","organizations_url":"https://api.github.com/users/bish4u/orgs","repos_url":"https://api.github.com/users/bish4u/repos","events_url":"https://api.github.com/users/bish4u/events{/privacy}","received_events_url":"https://api.github.com/users/bish4u/received_events","type":"User","site_admin":false},"created_at":"2015-06-21T21:22:14Z","updated_at":"2015-06-21T21:22:14Z","body":"Gettiing this error (the course shows in my --list)\r\n\r\nTraceback (most recent call last):\r\n  File \"edx-dl.py\", line 6, in <module>\r\n    edx_dl.main()\r\n  File \"D:\\software\\edx-downloader-master\\edx_dl\\edx_dl.py\", line 710, in main\r\n    for selected_course in selected_courses}\r\n  File \"D:\\software\\edx-downloader-master\\edx_dl\\edx_dl.py\", line 710, in <dictc\r\nomp>\r\n    for selected_course in selected_courses}\r\n  File \"D:\\software\\edx-downloader-master\\edx_dl\\edx_dl.py\", line 152, in get_av\r\nailable_sections\r\n    sections = extract_sections_from_html(page, BASE_URL)\r\n  File \"D:\\software\\edx-downloader-master\\edx_dl\\parsing.py\", line 263, in extra\r\nct_sections_from_html\r\n    for i, section_soup in enumerate(sections_soup, 1)]\r\n  File \"D:\\software\\edx-downloader-master\\edx_dl\\parsing.py\", line 263, in <list\r\ncomp>\r\n    for i, section_soup in enumerate(sections_soup, 1)]\r\n  File \"D:\\software\\edx-downloader-master\\edx_dl\\parsing.py\", line 241, in _make\r\n_url\r\n    return BASE_URL + section_soup.ul.find('a')['href']\r\nTypeError: 'NoneType' object is not subscriptable"}}