{"action":"created","issue":{"url":"https://api.github.com/repos/ScottyLabs/course-api/issues/18","labels_url":"https://api.github.com/repos/ScottyLabs/course-api/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/ScottyLabs/course-api/issues/18/comments","events_url":"https://api.github.com/repos/ScottyLabs/course-api/issues/18/events","html_url":"https://github.com/ScottyLabs/course-api/issues/18","id":69165518,"number":18,"title":"parse_fces.py authentication not working due to cookies","user":{"login":"chrisying","id":3231278,"avatar_url":"https://avatars.githubusercontent.com/u/3231278?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisying","html_url":"https://github.com/chrisying","followers_url":"https://api.github.com/users/chrisying/followers","following_url":"https://api.github.com/users/chrisying/following{/other_user}","gists_url":"https://api.github.com/users/chrisying/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisying/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisying/subscriptions","organizations_url":"https://api.github.com/users/chrisying/orgs","repos_url":"https://api.github.com/users/chrisying/repos","events_url":"https://api.github.com/users/chrisying/events{/privacy}","received_events_url":"https://api.github.com/users/chrisying/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-17T15:53:56Z","updated_at":"2015-04-17T18:38:16Z","closed_at":null,"body":"When running parse_fces.py, it fails at `cmu_auth.authenticate(url, username, password)` on line 106. It appears that the website that hosts the FCEs requires cookies which the script is not providing.\r\n\r\ni.e. when trying to send a post request via cmu_auth to\r\n`https://student.smartevals.com/reporting/SurveyResults.aspx?q=all&div=683&st=meantext&c=all&lvty=all%2Fall%2Fall&cat=all&u=all&dep=all&xp=t&hg=t&ds=normal&y=all&t=all&b=all&sat=all&srfall=Y&gb=CourseID&cg=all`\r\n\r\nThe response is\r\n![screen shot 2015-04-17 at 11 53 28 am](https://cloud.githubusercontent.com/assets/3231278/7205571/4e5f4d96-e4f8-11e4-93c9-91780c1526f3.png)\r\n"},"comment":{"url":"https://api.github.com/repos/ScottyLabs/course-api/issues/comments/94048131","html_url":"https://github.com/ScottyLabs/course-api/issues/18#issuecomment-94048131","issue_url":"https://api.github.com/repos/ScottyLabs/course-api/issues/18","id":94048131,"user":{"login":"jez","id":5544532,"avatar_url":"https://avatars.githubusercontent.com/u/5544532?v=3","gravatar_id":"","url":"https://api.github.com/users/jez","html_url":"https://github.com/jez","followers_url":"https://api.github.com/users/jez/followers","following_url":"https://api.github.com/users/jez/following{/other_user}","gists_url":"https://api.github.com/users/jez/gists{/gist_id}","starred_url":"https://api.github.com/users/jez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jez/subscriptions","organizations_url":"https://api.github.com/users/jez/orgs","repos_url":"https://api.github.com/users/jez/repos","events_url":"https://api.github.com/users/jez/events{/privacy}","received_events_url":"https://api.github.com/users/jez/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T18:38:16Z","updated_at":"2015-04-17T18:38:16Z","body":"Hmm, we were having some trouble with this in the days before we released it. The FCE's page is a pain, but maybe we'll have some time to fix it.\r\n\r\nLuckily there is a workaround. The FCE's page allows anyone who's logged in to manually download the data for each school. You can log in, download the data, and then run `parse_fces.py` manually on the files you've downloaded."}}