dwyl/learn-redux

How long do the Egghead.io Redux Videos Take (Total Elapsed Time)?

nelsonic opened this issue ยท 4 comments

I'm busy writing a post on how long it takes to learn React, Redux, Immutable.js, Flow etc.
So, I need to know what the total running time is for the videos.

The duration of each video is shown next to the clock icon in the list of videos:
https://egghead.io/lessons/javascript-redux-the-single-immutable-state-tree
image

I could sit and manually add them up using mental arithmetic (or a calculator).
But where's the fun in that?

Script

  var len = document.getElementsByClassName('index__clockIcon__3s3nE').length; // number of vids
  var sum = 0;
  for(var i = 0; i < len; i++){
    var parts = document.getElementsByClassName('index__clockIcon__3s3nE')[0]
      .nextElementSibling.innerHTML.split(":"); // time value is next DOM element to the clock icon.
    var m = parseInt(parts[0], 10) * 60; // multiply the minute figure by 60 sec.
    var s = parseInt(parts[1], 10);
    sum = sum + m + s;
  }
console.log(sum / 60); // we accumulated the time in seconds so divide by 60. ;-)

image

Result: 66 minutes

Note: you can alter the playback speed to 1.5 or even double speed.
But I highly doubt a complete beginner is going to do that and still actually learn anything! ๐Ÿ™„

Fun fact - Egghead teaches about Development & Security & its own website isn't secure.

Anyone can download their videos for free using youtube-dl

youtube-dl https://egghead.io/courses/getting-started-with-redux

When I told them, there was no response ๐Ÿ˜ž

@deadcoder0904 Yeah, I suspect they are making "enough" money to not care if people download. ๐Ÿค”
(I downloaded the videos when I was learning so I could watch them offline ...)

Good on you for reporting it to them. ๐Ÿ‘

wow

Wow. Incredible that they didn't do anything.. but yeah, good on you for reporting it!

@nelsonic, it looks like they add the runtime for each course

screen shot 2017-09-27 at 3 20 57 pm