News for hackers. Stuff that matters.
Re:Coursera shuts access to old platform courses by dhawalhs on Saturday June 11, 2016 @01:31PM (#11884353)
Made a list of 220 courses that are still open for enrollment: https://docs.google.com/spreadsheets/d/1kaWxZG3krI83WfdzlExW...

I will work on figuring out the slugs next. For you now, you will need to signup for the course and figure it out. You can also find the same the list on Class Central where you can filter by subjects or sort by rating: https://www.class-central.com/collection/coursera-old-stack

Re:Coursera shuts access to old platform courses by raybb on Sunday June 12, 2016 @12:55AM (#11886705)
If you go the page where all your archived courses are and run this code it'll give you a list of the slugs :)

//////////Grab archived urls

var archived = document.getElementsByClassName("link-button primary"); var archivedUrls = []; var slugs = []; for (var i = 0; i < archived.length; i++){ archivedUrls.push(document.getElementsByClassName("link-button primary")[i].href); } //////////////////////////////

  function getDatas(LLL){
    $.ajax({
      url: LLL,
      dataType: 'text',
      success: function (data) {
        var re = /F[a-zA-Z0-9-]*-0\d{2}/;
        var info = data.match(re)[0];
        var fixeInfo = info.substring(1);
        slugs.push(fixeInfo);
        console.log(fixeInfo);
      }
    });
  }


var ii = 0; // set your counter to 1

function myLoop () { // create a loop function setTimeout(function () { // call a 3s setTimeout when the loop is called console.log(archivedUrls[ii]); getDatas(archivedUrls[ii]); ii++; // increment the counter if (ii < archivedUrls.length) { // if the counter < 10, call the loop function myLoop(); // .. again which will trigger another } else { console.log('Type "slugs" to view all slugs gathered'); } }, 1000) }

myLoop(); // start the loop

Re:Coursera shuts access to old platform courses by raybb on Wednesday June 15, 2016 @11:05PM (#11913645)
Here is a link to updated code to do this: https://github.com/RayBB/coursera-slug-extractor
Re:Coursera shuts access to old platform courses by raybb on Sunday June 12, 2016 @02:04AM (#11886862)
Here's a list of slugs for almost all of the courses! https://docs.google.com/spreadsheets/d/1W1PZEQbb1jnNh-EeFUoB...
Re:Coursera shuts access to old platform courses by glogla on Sunday June 12, 2016 @04:50AM (#11887261)
Some I managed to download are missing:

audio-002 eefun-001 experiments-001 hci model-thinking-006 recsys-001

Re:Coursera shuts access to old platform courses by dhawalhs on Sunday June 12, 2016 @02:31PM (#11889520)
I only listed courses that haven't been moved to the new platform yet. So courses like Model Thinking and Recommender Systems have been ported over. I suspect its the same for other courses that you listed.
Re:Coursera shuts access to old platform courses by dhawalhs on Sunday June 12, 2016 @02:30PM (#11889506)
Ahh...just saw this. I already updated the original document with the slugs.

Thanks!