{"action":"created","issue":{"url":"https://api.github.com/repos/gaganpreet/udemy-dl/issues/85","labels_url":"https://api.github.com/repos/gaganpreet/udemy-dl/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/gaganpreet/udemy-dl/issues/85/comments","events_url":"https://api.github.com/repos/gaganpreet/udemy-dl/issues/85/events","html_url":"https://github.com/gaganpreet/udemy-dl/issues/85","id":99424488,"number":85,"title":"Error when executing the script in OS X yosemite","user":{"login":"Arduingo","id":12265128,"avatar_url":"https://avatars.githubusercontent.com/u/12265128?v=3","gravatar_id":"","url":"https://api.github.com/users/Arduingo","html_url":"https://github.com/Arduingo","followers_url":"https://api.github.com/users/Arduingo/followers","following_url":"https://api.github.com/users/Arduingo/following{/other_user}","gists_url":"https://api.github.com/users/Arduingo/gists{/gist_id}","starred_url":"https://api.github.com/users/Arduingo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arduingo/subscriptions","organizations_url":"https://api.github.com/users/Arduingo/orgs","repos_url":"https://api.github.com/users/Arduingo/repos","events_url":"https://api.github.com/users/Arduingo/events{/privacy}","received_events_url":"https://api.github.com/users/Arduingo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-06T12:30:10Z","updated_at":"2015-08-06T12:37:24Z","closed_at":null,"body":"Hi,\r\n\r\nAfter run de command udemy-dl URL in the command line in Yosemite, using a tested login/pass I get this error\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/udemy-dl\", line 5, in <module>\r\n    main()\r\n  File \"/Library/Python/2.7/site-packages/udemy_dl/udemy_dl.py\", line 215, in main\r\n    udemy_dl(username, password, link, output_dir)\r\n  File \"/Library/Python/2.7/site-packages/udemy_dl/udemy_dl.py\", line 162, in udemy_dl\r\n    login(username, password)\r\n  File \"/Library/Python/2.7/site-packages/udemy_dl/udemy_dl.py\", line 51, in login\r\n    csrf_token = get_csrf_token()\r\n  File \"/Library/Python/2.7/site-packages/udemy_dl/udemy_dl.py\", line 46, in get_csrf_token\r\n    return soup.find_all('input', {'name': 'csrf'})[0]['value']\r\nIndexError: list index out of range\r\n\r\nWhats could be wrong?"},"comment":{"url":"https://api.github.com/repos/gaganpreet/udemy-dl/issues/comments/128350484","html_url":"https://github.com/gaganpreet/udemy-dl/issues/85#issuecomment-128350484","issue_url":"https://api.github.com/repos/gaganpreet/udemy-dl/issues/85","id":128350484,"user":{"login":"nishad","id":1372136,"avatar_url":"https://avatars.githubusercontent.com/u/1372136?v=3","gravatar_id":"","url":"https://api.github.com/users/nishad","html_url":"https://github.com/nishad","followers_url":"https://api.github.com/users/nishad/followers","following_url":"https://api.github.com/users/nishad/following{/other_user}","gists_url":"https://api.github.com/users/nishad/gists{/gist_id}","starred_url":"https://api.github.com/users/nishad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nishad/subscriptions","organizations_url":"https://api.github.com/users/nishad/orgs","repos_url":"https://api.github.com/users/nishad/repos","events_url":"https://api.github.com/users/nishad/events{/privacy}","received_events_url":"https://api.github.com/users/nishad/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T12:37:24Z","updated_at":"2015-08-06T12:37:24Z","body":"Please update your udemy-dl. You are using an older version of the script or Pacakge."}}