przemyslawpluta / mongo-edu Goto Github PK
View Code? Open in Web Editor NEWSelect and download videos and handouts from https://university.mongodb.com courses
License: MIT License
Select and download videos and handouts from https://university.mongodb.com courses
License: MIT License
I am from pakistan and here youtube is block, so I am facing problems to download videos even through direct download or by using node,I am playing videos by using zenmate, youtube download link is not work in IDM, its like private video link not work on proxy in IDM.
And in Kaltura video player no download option comes.
Is there any other platform from where I download load mongodb java course videos?
Unable to download videos from courseware due to the below error
SyntaxError: invalid synta
at Socket. (C:\Users\gjain30\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\youtube-dl\lib\youtube-dl.js
at Socket.emit (events.js:95:17)
at Socket. (stream_readable.js:748:14)
at Socket.emit (events.js:92:17)
at emitReadable (_stream_readable.js:410:10)
at emitReadable (_stream_readable.js:406:5)
at readableAddChunk (_stream_readable.js:168:9)
at Socket.Readable.push (_stream_readable.js:130:10)
at Pipe.onread (net.js:528:21)
[i] Download Issues
When I try to download the handouts for mongdb nodejs course. It lists only first 6 weeks.
So no week 7 and final exam. But if I decide to download all handouts , it will download week 7 and exam handouts.
Hi,
I've got an error after selecting M101P: "Unable to locate any videos lists in the wiki. Is course avaliable / videos list present in the wiki?"
Hi,
Seems like this has been an issue in the past, and I've tried all of the fixes suggested/provided, but to no avail.
OS: W8.1
Python:3.4.1
npm:1.4.21
mongo-edu: downloaded 2014-09-07
I get all the way through to selecting which videos I want, typically leave this at 'all', and hitting enter throws the spawn ENOENT error.
Have tried running 'as admin' for the cmd window.
Have tried passing the python path.
I know you have just released this but I can't get the --cw or otherwise to work with the M101P or M102.
thanks again.
mongo-edu -d /Users/gato/Movies/MongoDB/m101p/week4 --cw
[ MONGO-EDU 0.1.50 ]
? MongoDB Uni User Name: [email protected]
? MongoDB Uni Password: *********
Searching [====================] 100%
? Found 2 Courses. Select: M101P: MongoDB for Developers
i Unable to locate any videos lists in the wiki. Are videos list present in the wiki? Try to add --cw to switch and search on courseware instead.
bigmac:node gato$
I described the error messages in detail at the M101 - Mongo for developers course discussion forum. The staff suggested that i contact you. Can you please take a look at my discussion forum posting at https://university.mongodb.com/courses/10gen/M101P/2014_September/discussion/forum/undefined/threads/54473affff6a2b0a9e00141a
Thank you, for your work and supporting this tool.
I tried to download videos for the M101N course and I got the error:
Error: spawn ENOENT
at errnoException (child_process.js:1001:11)
at Process.ChildProcess._handle.onexit (child_process.js:792:34)
In one of the other issues here I have found that, the problem can be the missing python executable in the PATH, but it doesn't look that's the case this time:
C:\Users\lkurylo>python -V
Python 2.7.6
C:\Users\lkurylo>node -v
v0.10.31
Any other ideas?
I get the following error when I try to download videos using the mongo-edu utility. Please advise.
C:\Program Files\nodejs>mongo-edu -d C:\Program Files\nodejs\videos
[?] MongoDB Uni User Name: [email protected]
[?] MongoDB Uni Password: **********
[>] Searching [===================] 100%
[?] Found 3 Courses. Select: M102: MongoDB for DBAs
[?] Found 7 Lists. Select: Week 1 Video Links
[?] Select From 22 Videos. Download: https://www.youtube.com/watch?v=0euni8AdT1
c
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:988:11)
at Process.ChildProcess._handle.onexit (child_process.js:779:34)
I tried "-d C:\Users\me\Desktop" but mongo-edu used the current working directory.
First of all great work, saved me so much fiddling.
I noticed that when I ran it with just -d it went back down to the prompt. I'm on OSX maveriks with node v0.10.32 and worked through with the --cw option.
Thanks again for the helpful app
mongo-edu -d /Users/gato/Movies/MongoDB/m101p/week3
? MongoDB Uni User Name: n***********
? MongoDB Uni Password: *********
[>] Searching [====================] 100%
? Found 2 Courses. Select: M101P: MongoDB for Developers
bigmac:node gato$
when I do :
mongo-edu -d . -u [email protected] -hq --cc
I get this:
? MongoDB Uni User Name: [email protected]
? MongoDB Uni Password: ***************
> Searching [====================] 100%
Nothing is found. Could it be related to the new design of the site ?
Hi,
I'm trying to download videos from 'M101P: MongoDB for Developers'
this is the command that I run
mongo-edu -d c:\mongo --cw --co --hq
I've successfully downloaded all videos from week1, all numbered; unfortunately the option --co doesn't work on week2 videos so I have all stuff unordered.
Can you please help me downloading this courseware videos all ordered?
Thanks a lot.
Best regards
Hi,
i try to start the mongo-edu application from my pc that runs Win7 Pro.
This is what i see (sorry it is in Italian but i will give you a translation):
C:\Users\temp>mongo-edu
"mongo-edu" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
(Eng: "mongo-edu" is not recognized as an internal command or an external one, an executable program or a batch file)
So i tried to go in the directory: C:\Users\temp\node_modules\mongo-edu
and there i have a bigger issue:
Riga = Row
Carattere = Character
Errore = Error
Previsto oggetto = Object expected
Codice = Code
Origine = Origin
Errore di run-time di Microsoft JScript = Microsoft JScript run-time error
I had no issues when i installed it on my virtual machine that is a debian 8...
Do i have to set some environment parameters? or something else?
I use the command below to download video:
mongo-edu -d video_folder
The sample video file names would be:
agile iteration-5-_ztAQ55f4.mp4
binary json-BfWnSxNQpYs.mp4
bson and applications-YsfwTNwixME.mp4
cursors introduction-XzNqJpImCP4.mp4
documents overview-f9csC-b9ULc.mp4
installing mongodb on a mac-pnVQcEt5_vw.mp4
installing mongodb on windows-TyuVrV9Z9-k.mp4
M102 - 1 1 1-0euni8AdT1c.mp4
mongodb concepts-YHKVBUENpvQ.mp4
mongodb dynamic schema-lxEk0aBEPl8.mp4
mongo import-ih2AYAfmQ9g.mp4
projection-8zlMXX70KEw.mp4
query language basic concepts-CJLLg0ibcnI.mp4
scaling-TZVZTf_eeaM.mp4
sql and complex transactions-CYdjDKwg0Eg.mp4
Do I need to manually remove the useless postfixs, such as CYdjDKwg0Eg, or I can done in the program?
MongoDB Developer course is just started.
I'm trying to download videos using mongo-edu using the following command:
mongo-edu -d /videos/
MongoDB username:
MongoDB passowrd:
searching.......[100%]
Program exits after the above line.
I did use this tool last year to download other videos in MongoDB but it doesn't work now for the new course. Are the videos available in mongo-edu?
This tool looks awesome, but I can't get it to run under Ubuntu...
npm http GET https://registry.npmjs.org/mongo-edu
npm http 304 https://registry.npmjs.org/mongo-edu
npm http GET https://registry.npmjs.org/cheerio
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/easy-table
npm http GET https://registry.npmjs.org/filesize
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/inquirer
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/mv
npm http GET https://registry.npmjs.org/path-extra
npm http GET https://registry.npmjs.org/progress
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/request-progress
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/unzip
npm http GET https://registry.npmjs.org/which
npm http GET https://registry.npmjs.org/yargs
npm http GET https://registry.npmjs.org/youtube-dl
npm http 200 https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/colors/-/colors-1.0.3.tgz
npm http 200 https://registry.npmjs.org/glob
npm http 200 https://registry.npmjs.org/cheerio
npm http 200 https://registry.npmjs.org/inquirer
npm http 200 https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/glob/-/glob-4.0.6.tgz
npm http GET https://registry.npmjs.org/cheerio/-/cheerio-0.18.0.tgz
npm http 200 https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/inquirer/-/inquirer-0.8.0.tgz
npm http 200 https://registry.npmjs.org/colors/-/colors-1.0.3.tgz
npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.0.tgz
npm http 200 https://registry.npmjs.org/progress
npm http 200 https://registry.npmjs.org/filesize
npm http 200 https://registry.npmjs.org/request-progress
npm http 200 https://registry.npmjs.org/cheerio/-/cheerio-0.18.0.tgz
npm http GET https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz
npm http 200 https://registry.npmjs.org/glob/-/glob-4.0.6.tgz
npm http 200 https://registry.npmjs.org/inquirer/-/inquirer-0.8.0.tgz
npm http GET https://registry.npmjs.org/progress/-/progress-1.1.8.tgz
npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.0.tgz
npm http GET https://registry.npmjs.org/filesize/-/filesize-2.0.4.tgz
npm http 200 https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/request-progress/-/request-progress-0.3.1.tgz
npm http 200 https://registry.npmjs.org/request
npm http 200 https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz
npm http 200 https://registry.npmjs.org/unzip
npm http 200 https://registry.npmjs.org/which
npm http GET https://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz
npm http 200 https://registry.npmjs.org/progress/-/progress-1.1.8.tgz
npm http 200 https://registry.npmjs.org/filesize/-/filesize-2.0.4.tgz
npm http GET https://registry.npmjs.org/request/-/request-2.47.0.tgz
npm http 200 https://registry.npmjs.org/request-progress/-/request-progress-0.3.1.tgz
npm http 200 https://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz
npm http GET https://registry.npmjs.org/unzip/-/unzip-0.1.11.tgz
npm http GET https://registry.npmjs.org/which/-/which-1.0.5.tgz
npm http 200 https://registry.npmjs.org/yargs
npm http GET https://registry.npmjs.org/yargs/-/yargs-1.3.2.tgz
npm http 200 https://registry.npmjs.org/request/-/request-2.47.0.tgz
npm http 200 https://registry.npmjs.org/unzip/-/unzip-0.1.11.tgz
npm http 200 https://registry.npmjs.org/which/-/which-1.0.5.tgz
npm http 200 https://registry.npmjs.org/yargs/-/yargs-1.3.2.tgz
npm http 200 https://registry.npmjs.org/path-extra
npm http GET https://registry.npmjs.org/path-extra/-/path-extra-0.3.0.tgz
npm http 200 https://registry.npmjs.org/easy-table
npm http GET https://registry.npmjs.org/easy-table/-/easy-table-0.3.0.tgz
npm http 200 https://registry.npmjs.org/mv
npm http 200 https://registry.npmjs.org/youtube-dl
npm http GET https://registry.npmjs.org/mv/-/mv-2.0.3.tgz
npm http GET https://registry.npmjs.org/youtube-dl/-/youtube-dl-1.5.16.tgz
npm http 200 https://registry.npmjs.org/mv/-/mv-2.0.3.tgz
npm http 200 https://registry.npmjs.org/path-extra/-/path-extra-0.3.0.tgz
npm http 200 https://registry.npmjs.org/youtube-dl/-/youtube-dl-1.5.16.tgz
npm http 200 https://registry.npmjs.org/easy-table/-/easy-table-0.3.0.tgz
npm http GET https://registry.npmjs.org/throttleit
npm http GET https://registry.npmjs.org/ncp
[email protected] preinstall /usr/local/lib/node_modules/mongo-edu/node_modules/youtube-dl
node ./scripts/download.js
sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm http 200 https://registry.npmjs.org/throttleit
npm http GET https://registry.npmjs.org/throttleit/-/throttleit-0.0.2.tgz
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/usr/local/lib/node_modules/mongo-edu/node_modules/mkdirp/test'
npm ERR! error rolling back [email protected] { [Error: ENOTEMPTY, rmdir '/usr/local/lib/node_modules/mongo-edu/node_modules/mkdirp/test']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: '/usr/local/lib/node_modules/mongo-edu/node_modules/mkdirp/test' }
npm ERR! weird error 127
npm ERR! EEXIST, mkdir '/usr/local/lib/node_modules/mongo-edu/node_modules/inquirer/lib/prompts'
File exists: /usr/local/lib/node_modules/mongo-edu/node_modules/inquirer/lib/prompts
Move it away, and try again.
npm ERR! System Linux 3.13.0-39-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "mongo-edu" "-g"
npm ERR! cwd /home/dneise/Schreibtisch/M101P/hw3-1
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /usr/local/lib/node_modules/mongo-edu/node_modules/inquirer/lib/prompts
npm ERR! fstream_path /usr/local/lib/node_modules/mongo-edu/node_modules/inquirer/lib/prompts/list.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:171:23
npm ERR! fstream_stack /usr/lib/nodejs/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http 200 https://registry.npmjs.org/ncp
npm http GET https://registry.npmjs.org/ncp/-/ncp-0.6.0.tgz
npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/mongo-edu/node_modules/request/request.js'
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]
npm ERR! System Linux 3.13.0-39-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "mongo-edu" "-g"
npm ERR! cwd /home/dneise/Schreibtisch/M101P/hw3-1
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /usr/local/lib/node_modules/mongo-edu/node_modules/request/request.js
npm ERR! fstream_path /usr/local/lib/node_modules/mongo-edu/node_modules/request/request.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http 200 https://registry.npmjs.org/throttleit/-/throttleit-0.0.2.tgz
npm http 200 https://registry.npmjs.org/ncp/-/ncp-0.6.0.tgz
npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/mongo-edu/node_modules/cheerio/coverage/coverage.json'
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]
npm ERR! System Linux 3.13.0-39-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "mongo-edu" "-g"
npm ERR! cwd /home/dneise/Schreibtisch/M101P/hw3-1
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /usr/local/lib/node_modules/mongo-edu/node_modules/cheerio/coverage/coverage.json
npm ERR! fstream_path /usr/local/lib/node_modules/mongo-edu/node_modules/cheerio/coverage/coverage.json
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/mongo-edu/node_modules/lodash/lodash.js'
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]
npm ERR! System Linux 3.13.0-39-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "mongo-edu" "-g"
npm ERR! cwd /home/dneise/Schreibtisch/M101P/hw3-1
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /usr/local/lib/node_modules/mongo-edu/node_modules/lodash/lodash.js
npm ERR! fstream_path /usr/local/lib/node_modules/mongo-edu/node_modules/lodash/lodash.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/mongo-edu/node_modules/glob/oh-my-glob.gif'
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]
npm ERR! System Linux 3.13.0-39-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "mongo-edu" "-g"
npm ERR! cwd /home/dneise/Schreibtisch/M101P/hw3-1
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /usr/local/lib/node_modules/mongo-edu/node_modules/glob/oh-my-glob.gif
npm ERR! fstream_path /usr/local/lib/node_modules/mongo-edu/node_modules/glob/oh-my-glob.gif
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/dneise/Schreibtisch/M101P/hw3-1/npm-debug.log
npm ERR! not ok code 0
.0, [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected]
└── [email protected] ([email protected])
[root@localhost jpulipati]# mongo-edu -d Desktop/ -u jkpulipati --cw
[ MONGO-EDU 0.2.18 ]
? MongoDB Uni User Name jkpulipati
? MongoDB Uni Password *********
i Email or password is incorrect.
It would be nice to have an option to prefix each download with sequential numbering. This way the files are ordered by name so you know what order to watch them in (assuming you care about sequence.)
Suggest: --nop ### where ### is the starting 3 digit number ( could be 001, 029, 100, 205, etc)
cannot download video for week 4 and week 5 for course M102: MongoDB for DBAs using mongo-edu. Only the first three weeks videos are showing.
I am running mongo-edu within a corporate environment. YouTube is accessible. I have installed NodeJS with NPM support and have installed the latest version of mongo-edu.
I am getting a "Self signed certificate" error when I attempt to run the command - see below
Please help
$ mongo-edu -d .
[ MONGO-EDU 0.2.14 ]
? MongoDB Uni User Name: [email protected]
? MongoDB Uni Password: *********
C:\Users\XXXXXX\AppData\Roaming\npm\node_modules\mongo-edu\lib\initialize.js:26
if (err !== null) { throw err; }
^
Error: self signed certificate in certificate chain
at Error (native)
at TLSSocket. (_tls_wrap.js:929:36)
at TLSSocket.emit (events.js:104:17)
at TLSSocket._finishInit (_tls_wrap.js:460:8)
Hi, I just installed mongo-edu and try to download the courses with it it kept giving me this error:
mongo-edu -d videos -u [email protected]
Outputs:
? MongoDB Uni User Name: [email protected]
? MongoDB Uni Password: ************Error: Email or password is incorrect.
at Request.post as _callback
at Request.self.callback (/home/yahya/.nvm/v0.10.26/lib/node_modules/mongo-edu/node_modules/request/request.js:236:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request. (/home/yahya/.nvm/v0.10.26/lib/node_modules/mongo-edu/node_modules/request/request.js:1142:14)
at Request.EventEmitter.emit (events.js:117:20)
at IncomingMessage. (/home/yahya/.nvm/v0.10.26/lib/node_modules/mongo-edu/node_modules/request/request.js:1096:12)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
I tried with username without the @mongo.com part didn't work ether the password is correct I logged out from mongo university and logged back in with the same password but when I use the CLI I get the incorrect username or password error.
Is this a bug in the tool, or I did something wrong?
I seem to be having issues downloading - there are no errors.
After entering the email and password all I get is:
[>] Searching [============] 100%
and nothing.
It has worked in the past. Only thing i can think of is may be because I'm enrolled in two courses at the same time - which are currently in progress!!!!
I did re-install npm and mongo-edu.
I am getting following when I try to login using mongo-edu
C:\Users\sekhar\Documents\mongodb\class\M102\WK05>mongo-edu -d videos
[?] MongoDB Uni User Name:
[?] MongoDB Uni Password: ******
Error: 301
at Request.post as _callback
at Request.self.callback (C:\Users\sekhar\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\request\request.js:121:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request. (C:\Users\sekhar\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\request\request.js:978:14)
at Request.EventEmitter.emit (events.js:117:20)
at IncomingMessage. (C:\Users\sekhar\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\request\request.js:929
:12)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
I am unable to download any videos. Please help. Below is the command I used. after selecting the chapter in the list, it says "Could not locate any videos". Note: In the UserName tab I have put asterisks to hide the username here.
Thanks.
C:\Users\RMK>mongo-edu -d G:\MongoDB_CourseWare --cw
[ MONGO-EDU 0.2.11 ]
? MongoDB Uni User Name: r*********@**.com
? MongoDB Uni Password: ******
Searching [====================] 100%
? Found 4 Courses. Select: M102: MongoDB for DBAs
? Found 8 Lists. Select: Chapter 1: Introduction
Searching Courseware [====================] 100%
i Could not locate any videos.
Hi,
I tried to download the videos of the MongoDB University for courses M102 and M101P this week and got errors and the download didn't complete. Command used was:
-d path -u my_email --cw --hq
Then I selected the respective course, the chapter(week) and All videos from this chapter. This works fine for chapters/weeks 1 to 3 but the script doesn't finish for week 4. Is this a known issue? Shall I post the error output I see in the command prompt of Windows 8 ? What other details do you need?
Thanks
Dmr
Is it possible to add an autonumber prefix to the file names?
I would like to know what order to play the videos in, the files are not in alphabetical or date order. Thanks!
mongo-edu --hq -d /home/devuser/mongo/M102/
[>] Searching [====================] 100%
[?] Found 3 Courses. Select: M102: MongoDB for DBAs
[?] Found 6 Lists. Select: Week 1 Video Links
[>] Collecting [====================] 100%
[?] Select From 22 Videos. Download: All
Error: Command failed: Usage: youtube-dl [options] url [url...]
youtube-dl: error: you must provide at least one URL
at ChildProcess.exithandler (child_process.js:648:15)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)
When I ran npm install mongo-edu -g command i get below error ..
npm http GET https://registry.npmjs.org/once/-/once-1.3.1.tgz
npm ERR! [email protected] preinstall: node ./scripts/download.js
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is most likely a problem with the youtube-dl package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./scripts/download.js
npm ERR! You can get their info via:
npm ERR! npm owner ls youtube-dl
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "mongo-edu" "-g"
npm ERR! cwd C:\Users\5013003276
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! code ELIFECYCLE
npm http GET https://registry.npmjs.org/tough-cookie/-/tough-cookie-0.12.1.tgz
npm http GET https://registry.npmjs.org/minimatch/-/minimatch-1.0.0.tgz
after this if i run mongo-edu --help it says command not found.
npm, python, node have been successfully installed, but the installation command:
"npm install mongo-edu -g"
but it doesn't work.
here the exception:
npm http 304 https://registry.npmjs.org/hoek
npm http 304 https://registry.npmjs.org/sntp
npm http 304 https://registry.npmjs.org/traverse
npm http 304 https://registry.npmjs.org/cryptiles
npm http 304 https://registry.npmjs.org/CSSwhat
npm http 304 https://registry.npmjs.org/next-tick
npm http 304 https://registry.npmjs.org/lru-queue
npm http 304 https://registry.npmjs.org/event-emitter
npm http GET https://registry.npmjs.org/es6-iterator
npm http GET https://registry.npmjs.org/es6-symbol
npm http 304 https://registry.npmjs.org/es6-iterator
npm http 304 https://registry.npmjs.org/es6-symbol
...\npm\node_modules\mongo-edu\node_modules\y
outube-dl\scripts\download.js:17
throw err;
^
Error: connect ETIMEDOUT
at errnoException (net.js:901:11)
at Object.afterConnect as oncomplete
npm ERR! weird error 8
npm ERR! not ok code 0
I had the mongo-edu all working for weeks 1-3 , when trying to download week 4 material it was just performing checks and stopping without any feedback.
So I decided to re-install and all hell breaks loose. Here is the trace of the last failed install.
F:\MongoDB\M101P\Ch4\handouts\hw4-3>node -v
v0.10.29
F:\MongoDB\M101P\Ch4\handouts\hw4-3>npm -v
1.4.14
F:\MongoDB\M101P\Ch4\handouts\hw4-3>python -V
Python 2.7.8
[email protected] preinstall C:\Users\mohsinj\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\youtube-dl
node ./scripts/download.js
Downloading latest youtube-dl
Downloaded youtube-dl 2014.10.05.2
npm ERR! Error: ENOENT, lstat 'C:\Users\mohsinj\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\inquirer\node_modules\chal
k\node_modules\has-ansi\node_modules\ansi-regex\package.json'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
"mongo-edu" "-g"
npm ERR! cwd F:\MongoDB\M101P\Ch4\handouts\hw4-3
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path C:\Users\mohsinj\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\inquirer\node_modules\chalk\node_modules\ha
s-ansi\node_modules\ansi-regex\package.json
npm ERR! fstream_path C:\Users\mohsinj\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\inquirer\node_modules\chalk\node_mo
dules\has-ansi\node_modules\ansi-regex\package.json
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! error rolling back Error: EPERM, unlink 'C:\Users\mohsinj\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\inquire
r\node_modules\rx\dist\rx.all.js'
npm ERR! error rolling back [email protected] { [Error: EPERM, unlink 'C:\Users\mohsinj\AppData\Roaming\npm\node_modules\mongo-edu\n
ode_modules\inquirer\node_modules\rx\dist\rx.all.js']
npm ERR! error rolling back errno: 50,
npm ERR! error rolling back code: 'EPERM',
npm ERR! error rolling back path: 'C:\Users\mohsinj\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\inquirer\n
ode_modules\rx\dist\rx.all.js' }
npm ERR! error rolling back Error: EPERM, unlink 'C:\Users\mohsinj\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\inquire
r\node_modules\rx\dist\rx.all.js'
npm ERR! error rolling back [email protected] { [Error: EPERM, unlink 'C:\Users\mohsinj\AppData\Roaming\npm\node_modules\mongo-edu
node_modules\inquirer\node_modules\rx\dist\rx.all.js']
npm ERR! error rolling back errno: 50,
npm ERR! error rolling back code: 'EPERM',
npm ERR! error rolling back path: 'C:\Users\mohsinj\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\inquirer\n
ode_modules\rx\dist\rx.all.js' }
npm ERR! Error: UNKNOWN, open 'C:\Users\mohsinj\AppData\Roaming\npm-cache\ansi-regex\0.2.1\package\package.json'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
"mongo-edu" "-g"
npm ERR! cwd F:\MongoDB\M101P\Ch4\handouts\hw4-3
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path C:\Users\mohsinj\AppData\Roaming\npm-cache\ansi-regex\0.2.1\package\package.json
npm ERR! code UNKNOWN
npm ERR! errno -1
npm ERR! Error: ENOENT, lstat 'C:\Users\mohsinj\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\inquirer\node_modules\rx\d
ist\rx.all.js'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
"mongo-edu" "-g"
npm ERR! cwd F:\MongoDB\M101P\Ch4\handouts\hw4-3
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path C:\Users\mohsinj\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\inquirer\node_modules\rx\dist\rx.all.js
npm ERR! fstream_path C:\Users\mohsinj\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\inquirer\node_modules\rx\dist\rx.al
l.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! F:\MongoDB\M101P\Ch4\handouts\hw4-3\npm-debug.log
npm ERR! not ok code 0
F:\MongoDB\M101P\Ch4\handouts\hw4-3>
Hi,
I have installed mongo-edu on my desktop computer running windows2008.
When I try to start the download, it just hang at following step without going into download prompt.
C:\1. My Office Data\New Downloads>mongo-edu -d 'C:' -u [email protected] --cw
[ MONGO-EDU 0.2.4 ]
Any help on this will be highly appreciated.
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/root/node_modules/mongo-edu/node_modules/cheerio/node_modules/CSSselect/test'
npm ERR! error rolling back [email protected] { [Error: ENOTEMPTY, rmdir '/root/node_modules/mongo-edu/node_modules/cheerio/node_modules/CSSselect/test']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: '/root/node_modules/mongo-edu/node_modules/cheerio/node_modules/CSSselect/test' }
npm ERR! [email protected] install: node ./scripts/download.js
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the youtube-dl package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./scripts/download.js
npm ERR! You can get their info via:
npm ERR! npm owner ls youtube-dl
npm ERR! There is likely additional logging output above.
it seems a youtube-dl module's problem?
Hi,
I could not download videos for m102. Tried many a times but no luck.
C:\Python27>node -v
v0.10.33
C:\Python27>npm -v
1.4.28
C:\Python27>python -v
installing zipimport hook
import zipimport # builtin
installed zipimport hook
C:\Python27\lib\site.pyc matches C:\Python27\lib\site.py
import site # precompiled from C:\Python27\lib\site.pyc
C:\Python27\lib\os.pyc matches C:\Python27\lib\os.py
import os # precompiled from C:\Python27\lib\os.pyc
import errno # builtin
import nt # builtin
C:\Python27\lib\ntpath.pyc matches C:\Python27\lib\ntpath.py
import ntpath # precompiled from C:\Python27\lib\ntpath.pyc
C:\Python27\lib\stat.pyc matches C:\Python27\lib\stat.py
import stat # precompiled from C:\Python27\lib\stat.pyc
C:\Python27\lib\genericpath.pyc matches C:\Python27\lib\genericpath.py
import genericpath # precompiled from C:\Python27\lib\genericpath.pyc
C:\Python27\lib\warnings.pyc matches C:\Python27\lib\warnings.py
import warnings # precompiled from C:\Python27\lib\warnings.pyc
C:\Python27\lib\linecache.pyc matches C:\Python27\lib\linecache.py
import linecache # precompiled from C:\Python27\lib\linecache.pyc
C:\Python27\lib\types.pyc matches C:\Python27\lib\types.py
import types # precompiled from C:\Python27\lib\types.pyc
C:\Python27\lib\UserDict.pyc matches C:\Python27\lib\UserDict.py
import UserDict # precompiled from C:\Python27\lib\UserDict.pyc
C:\Python27\lib_abcoll.pyc matches C:\Python27\lib_abcoll.py
import _abcoll # precompiled from C:\Python27\lib_abcoll.pyc
C:\Python27\lib\abc.pyc matches C:\Python27\lib\abc.py
C:\Python27\lib\encodings\cp1252.pyc matches C:\Python27\lib\encodings\cp1252.py
import encodings.cp1252 # precompiled from C:\Python27\lib\encodings\cp1252.pyc
Python 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
IS IT NORMAL WHEN WE TYPE FOR VERSION CHECK?
C:\Python27>
C:\Python27>mongo-edu -d C:\Users\home\Desktop\MongoDb\week5-videos --cw --hq --cc
[ MONGO-EDU 0.2.1 ]
? MongoDB Uni User Name: [email protected]
? MongoDB Uni Password: ***********
Searching [====================] 100%
? Found 1 Course. Select: M102: MongoDB for DBAs
? Found 5 Lists. Select: Chapter 5: Replication Part 2
Searching Courseware [====================] 100%
Collecting [====================] 100%
? Select From 14 Videos. Download: All
Error: spawn ENOENT
at errnoException (child_process.js:1001:11)
at Process.ChildProcess._handle.onexit (child_process.js:792:34)
Sometimes could able to downlaod one or two and giving errors like this....
Error: Command failed: WARNING: Could not send HEAD request to C:\Users\Ace\AppD
ata\Roaming\npm\node_modules\mongo-edu\node_modules\youtube-dl\bin\youtube-dl: <
urlopen error unknown url type: c>
WARNING: Falling back on generic information extractor.
ERROR: Unable to download webpage: (caused b
y URLError(u'unknown url type: c',))
at ChildProcess.exithandler (child_process.js:648:15)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)
what it could be and how to download videos., I could not download any videos
so far (past 5 weeks)
Regards,
Prasanna.
After upgrading mongo-edu today, I get the following error when trying to download videos in high quality (didn't try without high quality yet):
C:*****\mongodb\offline_videos\M102>mongo-edu -d .\Week7 -u ***@gmail.com --hq --cw
[ MONGO-EDU 0.2.9 ]
? MongoDB Uni User Name: *******@gmail.com
? MongoDB Uni Password: ***
Searching [====================] 100%
? Found 3 Courses. Select: M102: MongoDB for DBAs
? Found 8 Lists. Select: Chapter 7: Backup and Recovery
Searching Courseware [====================] 100%
Collecting [====================] 100%
? Select From 1 Videos. Download: All
Error: Command failed: python C:\Users\dmr\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\youtube-dl\bin\youtub
e-dl --dump-json --max-quality=22 https://youtu.be/1n0IDMAWR0Y
Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: no such option: --max-quality
at ChildProcess.exithandler (child_process.js:751:12)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
C:\Users\dmr\mongodb\offline_videos\M102>
In Mongo M202 Oct 2015 Course
Video for following topics are not getting downloaded.
Only 24 videos are downloaded.
Thanks for the gr8 work
Hi, this was working yesterday, I'm on debian wheezy, this what a I get now:
user@debian:~/mongo_edu$ npm install mongo_edu -g
npm ERR! 404 Not Found
npm ERR! not ok code 0
Is it me? or a momentary connection error?
Running on windows 7,
Python 3.4,
node v0.10.13
npm 1.3.2
I get the following output (I had to use -cw option as no videos were available otherwise) :
? MongoDB Uni User Name: [removed]
? MongoDB Uni Password: ********
[>] Searching [====================] 100%
? Found 1 Course. Select:: M101J: MongoDB for Java Developers
? Found 6 Lists. Select:: Week 6: Application Engineering
[>] Searching Courseware [====================] 100%
[>] Collecting [====================] 100%
? Select From 32 Videos. Download:: No info: https://youtu.be/8q2GB3QSBSI
Error: Command failed: WARNING: unable to set language: <urlopen error [Errno 11004] getaddrinfo failed>
ERROR: Unable to download webpage: <urlopen error [Errno 11004] getaddrinfo failed>
at ChildProcess.exithandler (child_process.js:637:15)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Process.ChildProcess._handle.onexit (child_process.js:802:5)
I got the same result when selecting All videos. Any ideas???
The script is missing out on some videos. It downloaded videos from week1 to week4 correctly.
Notice in the below logs it just jumps from 2,3 onwards to 29. I initially thought it had messed up the order, but no it is missing out on some videos.
Platform: Linux - Ubuntu 14.04 LTS x64.
Screen output:
? MongoDB Uni User Name XXXXXXXXXXX
? MongoDB Uni Password ***********
> Searching [====================] 100%
? Hi XXXXXXX 😄 Found 1 Course. Select: M101JS: MongoDB for Node.js Developers
? Found 5 Lists. Select: Week 5: Aggregation Framework
> Searching Courseware [====================] 100%
> Collecting [====================] 100%
? Select From 15 Videos. Download: All
i Downloading: m101 2 simple example-DQBXCsjeO5c.mp4 > https://youtu.be/DQBXCsjeO5c
> 44.83 MB [====================] 100% 0.0s
i m101 2 simple example-DQBXCsjeO5c.mp4. Done in: 165630ms
i Subtitles downloaded.
i 14 left ...
i Downloading: m101 3 simple example-Nt0cQI86G40.mp4 > https://youtu.be/Nt0cQI86G40
> 3.38 MB [====================] 100% 0.0s
i m101 3 simple example-Nt0cQI86G40.mp4. Done in: 12617ms
i Subtitles downloaded.
i 13 left ...
i Downloading: m101 29 sort-HUEtV7omSb8.mp4 > https://youtu.be/HUEtV7omSb8
> 24.26 MB [====================] 100% 0.0s
i m101 29 sort-HUEtV7omSb8.mp4. Done in: 89750ms
i Subtitles downloaded.
i 12 left ...
i No HQ video available for m101 30 sort trying default quality ...
i Downloading: m101 30 sort--cghyd6AHHA.mp4 > https://youtu.be/-cghyd6AHHA
> 331.88 kB [====================] 100% 0.0s
i m101 30 sort--cghyd6AHHA.mp4. Done in: 1404ms
i Subtitles downloaded.
i 11 left ...
i Downloading: m101 33 first and last-JOdAnxVAMwc.mp4 > https://youtu.be/JOdAnxVAMwc
> 51.27 MB [====================] 100% 0.0s
i m101 33 first and last-JOdAnxVAMwc.mp4. Done in: 189058ms
i Subtitles downloaded.
i 10 left ...
i Downloading: m101 34 first and last-MVSoinykIJA.mp4 > https://youtu.be/MVSoinykIJA
> 6.42 MB [====================] 100% 0.0s
i m101 34 first and last-MVSoinykIJA.mp4. Done in: 23896ms
i Subtitles downloaded.
i 9 left ...
i Downloading: m101 35 unwind-E4aYOQPeQvI.mp4 > https://youtu.be/E4aYOQPeQvI
> 19.97 MB [====================] 100% 0.0s
i m101 35 unwind-E4aYOQPeQvI.mp4. Done in: 73490ms
i Subtitles downloaded.
i 8 left ...
i Downloading: m101 36 unwind-Xfl3m7wz8ts.mp4 > https://youtu.be/Xfl3m7wz8ts
> 2.8 MB [====================] 100% 0.0s
i m101 36 unwind-Xfl3m7wz8ts.mp4. Done in: 10567ms
i Subtitles downloaded.
i 7 left ...
i Downloading: m101 37 unwind example-U_4Enh2TTp4.mp4 > https://youtu.be/U_4Enh2TTp4
> 21.1 MB [====================] 100% 0.0s
i m101 37 unwind example-U_4Enh2TTp4.mp4. Done in: 77445ms
i Subtitles downloaded.
i 6 left ...
...
...
...
Using Linux-Ubuntu14.04LTS-
Error: ENOENT, chown '/usr/local/lib/node_modules/mongo-edu/node_modules/colors/themes'
Error: ENOENT, lstat '/usr/local/lib/node_modules/mongo-edu/node_modules/request-progress/node_modules/throttleit/Readme.md'
Error: ENOENT, lstat '/usr/local/lib/node_modules/mongo-edu/node_modules/mv/node_modules/ncp/.travis.yml'
I followed the steps mentioned in wiki to download videos. But when ever i select videos from the list and press enter it give me following error-
[?] Select From 35 Videos. Download: No info: https://www.youtube.com/watch?feat
ure=player_embedded&v=FN10crzDOjk
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:998:11)
at Process.ChildProcess._handle.onexit (child_process.js:789:34)
Am i missing some thing here?
Using windows 8, command line interface I installed the npm package globally. I tried to download individual videos, as well as all videos, as well as the high quality versions of each, no luck with any options. I am able to download the handouts successfully, but with the videos I am consistently gettting the following error:
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errorException (child_process.js:998:11)
at Process.ChildProcess._handle.onexit (child_process.js:789:34)
Following on my earlier problem, #20 which is now resolved - see my updates after it was closed :)
Would it be possible to support the python command line options proxy and verbose ?
Currently, running with them set made no difference e.g.
node mongo-edu --proxy "" --cw -d videos --verbose
I'm not if this also applies to node-youtube-dl.
This module keeps on giving error while installation.
npm http GET https://registry.npmjs.org/youtube-dl
npm http 304 https://registry.npmjs.org/youtube-dl
[email protected] preinstall /home/baris/offline/node_modules/youtube-dl
node ./scripts/download.js
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! [email protected] preinstall: node ./scripts/download.js
npm ERR! sh "-c" "node ./scripts/download.js"
failed with 1
npm ERR!
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is most likely a problem with the youtube-dl package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./scripts/download.js
npm ERR! You can get their info via:
npm ERR! npm owner ls youtube-dl
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.11.0-26-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "youtube-dl"
npm ERR! cwd /home/baris/offline
npm ERR! node -v v0.10.15
npm ERR! npm -v 1.2.18
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/baris/offline/npm-debug.log
npm ERR! not ok code 0
windows 7 32-bit
python2.7
npm 1.4.23
also tried npm uninstall, cache clean and "install mongo-edu -g" ; but same failure !
C:\Users\Ace\MongoDB.edu\DBA>mongo-edu -d \users\ace\MongoDB.edu\DBA\ --cw --co
--cc
? MongoDB Uni User Name: [email protected]
? MongoDB Uni Password: ********
Searching [====================] 100%
? Found 2 Courses. Select: M102: MongoDB for DBAs
? Found 4 Lists. Select: Chapter 3: Performance
Searching Courseware [====================] 100%
Collecting [====================] 100%
? Select From 25 Videos. Download: All
i Downloading: intro to week 3-dWuuaC-UJ6w.mp4 > https://youtu.be/dWuuaC-UJ6w
3.29 MB [====================] 100% 0.0s
i intro to week 3-dWuuaC-UJ6w.mp4. Done in: 48595ms
i 24 left ...
Error: Command failed: WARNING: Could not send HEAD request to C:\Users\Ace\AppD
ata\Roaming\npm\node_modules\mongo-edu\node_modules\youtube-dl\bin\youtube-dl: <
urlopen error unknown url type: c>
WARNING: Falling back on generic information extractor.
ERROR: Unable to download webpage: (caused b
y URLError(u'unknown url type: c',))
at ChildProcess.exithandler (child_process.js:648:15)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)
FYI, while installing mongo-edu
├── [email protected] ([email protected], [email protected])
Why is it failing consistently after the first download?
[ MONGO-EDU 0.2.0 ]
Searching [====================] 100%
? Found 1 Course. Select: M101J: MongoDB for Java Developers
? Found 1 List. Select: Week 1: Introduction
Searching Courseware [====================] 100%
Collecting [====================] 100%
? Select From 35 Videos. Download: All
Error: Command failed: Traceback (most recent call last):
File "C:\Program Files (x86)\python\lib\runpy.py", line 162, in run_module_as
main
"main", fname, loader, pkg_name)
File "C:\Program Files (x86)\python\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "C:\Users\niuzhist\AppData\Roaming\npm\node_modules\mongo-edu\node_module
s\youtube-dl\bin\youtube-dl__main.py", line 18, in
File "C:\Users\niuzhist\AppData\Roaming\npm\node_modules\mongo-edu\node_module
s\youtube-dl\bin\youtube-dl\youtube_dl__init_.py", line 431, in main
File "C:\Users\niuzhist\AppData\Roaming\npm\node_modules\mongo-edu\node_module
s\youtube-dl\bin\youtube-dl\youtube_dl__init__.py", line 137, in _real_main
File "C:\Users\niuzhist\AppData\Roaming\npm\node_modules\mongo-edu\node_module
s\youtube-dl\bin\youtube-dl\youtube_dl\options.py", line 117, in parseOpts
File "C:\Program Files (x86)\python\lib\optparse.py", line 1018, in add_option
raise TypeError, "invalid arguments"
TypeError: invalid arguments
at ChildProcess.exithandler (child_process.js:648:15)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)
In fact, I can't type any other arguments after the All, it is automatically running.
imacdown:mongo-edu merlino$ node mongo-edu -d /path_to_dl
imacdown:mongo-edu merlino$
Here is the feedback on my mac. Any suggestion?
TY!!!
Carlo
Currently, when I select a course, it gives me the option to download all videos for a given week.
However, there isn't any ability to quickly download the videos for all weeks - is it possible to add such an option?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.