przemyslawpluta / mongo-edu

Select and download videos and handouts from https://university.mongodb.com courses
MIT License
279 stars 83 forks source link

Not Downloading all Videos. #57

Closed arashpath closed 9 years ago

arashpath commented 9 years ago

In Mongo M202 Oct 2015 Course Video for following topics are not getting downloaded.

Only 24 videos are downloaded.

Thanks for the gr8 work

przemyslawpluta commented 9 years ago

Just tested agains M202 and downloaded all available videos in the course without any issues.

RacerEvan55 commented 9 years ago

Same issue here. On m101n week 2 it is not downloading all videos. For example it skips the first 2 segments CRUD and the Mongo Shell and Secrets of the Mongo Shell and goes straight to Intro to BSON.

przemyslawpluta commented 9 years ago

@arashpath @RacerEvan55 what OS are you on?

RacerEvan55 commented 9 years ago

Windows 10 latest version of node python 3.4.3

I kicked off a download again this morning, will report back tonight to see if it worked this time.

RacerEvan55 commented 9 years ago

looks like it is intermittent, and where the code builds the list of youtube videos (not the actual downloading part) I just tried it with M102 week 2. First time I ran it, it found 9 videos. 2nd and 3rd times 23 videos.

arashpath commented 9 years ago

Yes it is intermediate. Can be avoided if we login via website and attempt to play some videos before downloading all. Else it will skip videos from 2nd to 5th.

przemyslawpluta commented 9 years ago

@arashpath are you referencing M102?

przemyslawpluta commented 9 years ago

Pushed new version to npm with a slight change to the streams mongo-edu v0.2.22.

Video lists depend on the responses from the mongodb servers so if there is no response for the particular webpage or webpage response is partial there is nothing to list hence on odd occasions you get different video count.

I run 10x separate tests on OSX, win7 and win8 and have seen this count issue happening once. Other then that all the videos that were available for any particular course were downloaded without any issues.

@arashpath @RacerEvan55 what is your broadband speed?