{"action":"created","issue":{"url":"https://api.github.com/repos/shk3/edx-downloader/issues/195","labels_url":"https://api.github.com/repos/shk3/edx-downloader/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/shk3/edx-downloader/issues/195/comments","events_url":"https://api.github.com/repos/shk3/edx-downloader/issues/195/events","html_url":"https://github.com/shk3/edx-downloader/issues/195","id":77421940,"number":195,"title":"Can't download videos from YCA2015.1.2x","user":{"login":"yepu","id":4862848,"avatar_url":"https://avatars.githubusercontent.com/u/4862848?v=3","gravatar_id":"","url":"https://api.github.com/users/yepu","html_url":"https://github.com/yepu","followers_url":"https://api.github.com/users/yepu/followers","following_url":"https://api.github.com/users/yepu/following{/other_user}","gists_url":"https://api.github.com/users/yepu/gists{/gist_id}","starred_url":"https://api.github.com/users/yepu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yepu/subscriptions","organizations_url":"https://api.github.com/users/yepu/orgs","repos_url":"https://api.github.com/users/yepu/repos","events_url":"https://api.github.com/users/yepu/events{/privacy}","received_events_url":"https://api.github.com/users/yepu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/shk3/edx-downloader/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-17T23:05:41Z","updated_at":"2015-05-21T12:32:20Z","closed_at":null,"body":"Pick the course, choose the week and it says 'WARNING: No downloadable video found.'. Commit 68d3661393f589994e1dfe382a6a37b9c23d6a43 is the culprit.\r\nReset to 4b4578f52168c6c70de8c159f1a223c6f37a48a5 make it works again."},"comment":{"url":"https://api.github.com/repos/shk3/edx-downloader/issues/comments/104255043","html_url":"https://github.com/shk3/edx-downloader/issues/195#issuecomment-104255043","issue_url":"https://api.github.com/repos/shk3/edx-downloader/issues/195","id":104255043,"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},"created_at":"2015-05-21T12:32:20Z","updated_at":"2015-05-21T12:32:20Z","body":"Hi.\n\nOn May 21 2015, Ismael Mejia wrote:\n> @rbrito I checked this issue in detail and it was my mistake to think that\n> it was a layout issue. The thing is that this course has only one section,\n> when I saw the picture I thought it had many and the script was not\n> working, but notice that the layout is exactly the same (seldcted section\n> has white background as well as the subsections when you have not picked a\n> subsection), so I don't think we need a particular kind of test for this\n> case.\n\nAh, OK. That's \"less bad\". This seems to indicate that we can close this\nbug, then, right?\n\n> Talking about tests, I wanted to suggest you the demo course as a testing\n> scenario, since it has most of the characteristics of the platform.\n>\n>  https://courses.edx.org/courses/edX/DemoX.1/2014/info\n\nOK, great starting point. I wonder how we should put it in our repository.\n\nWith coursera, we essentially have just one page that has everything that we\nneed, which is what I put in as \"fixtures\" for the unittests.  For edX, the\ncourses are generally spread over many pages and we would possibly have to\ndownload a bunch of them.\n\nI guess that I will instrument the python code to save the pages as they are\ndownloaded for this demo course and, then, manually inspect what was\ndownloaded with what I see in the browser (unfortunately, this may be a tad\nharder due to browsers following redirects) and, finally, put all the\n\"assets\" for a given course in a directory.\n\nIf we happen to see a different kind of structure in the future, we may\nrepeat the process for another \"representative\" course and put that in a\nseparate fixture directory.\n\nThis will also make things much easier to test, since we will avoid network\ntraffic and people from edX getting mad at us.\n\n\nThanks for the hint,\n\n-- \nRogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA\nhttp://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito\nDebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br\n"}}