summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rw-r--r--bin/mongo-edu2
-rw-r--r--lib/courseware.js2
-rw-r--r--lib/login.js2
-rw-r--r--lib/videos.js2
-rw-r--r--mongo-edu.js2
-rw-r--r--package.json4
7 files changed, 12 insertions, 8 deletions
diff --git a/README.md b/README.md
index 236d4cf..73f8e7c 100644
--- a/README.md
+++ b/README.md
@@ -29,6 +29,8 @@ Options:
-d download path [required]
-u email address
-h switch from videos (default) to handouts
+ --cw switch from wiki's video lists (default) to courseware
+ --cwd same as --cw and dumps list of videos to file in -d
--cc get closed captions
--hq get high quality videos
--ncc no check certificate for py3.x < py3.4.x
@@ -39,7 +41,9 @@ Options:
### Videos and closed captions
-Download all available videos from lists present in the `wiki` pages for any given week. Add `--cc` to download closed captions with the videos and `--hq` to get high quality videos.
+Download all available videos from lists present in the `wiki` pages for any given week. If there are no lists present in `wiki` add `--cw` to search through the main courseware pages.
+
+Add `--cc` to download closed captions with the videos and `--hq` to get high quality videos.
![screenshot](https://raw.github.com/przemyslawpluta/mongo-edu/gh-pages/images/me-videos-master.gif)
diff --git a/bin/mongo-edu b/bin/mongo-edu
index e1558e3..6c41134 100644
--- a/bin/mongo-edu
+++ b/bin/mongo-edu
@@ -1,3 +1,3 @@
#!/usr/bin/env node
-require('../mongo-edu').create(); \ No newline at end of file
+require('../mongo-edu').create();
diff --git a/lib/courseware.js b/lib/courseware.js
index 1b2e63b..b3faaf4 100644
--- a/lib/courseware.js
+++ b/lib/courseware.js
@@ -114,4 +114,4 @@ module.exports = {
}
}
-}; \ No newline at end of file
+};
diff --git a/lib/login.js b/lib/login.js
index 11e35b6..2dd9bef 100644
--- a/lib/login.js
+++ b/lib/login.js
@@ -201,4 +201,4 @@ module.exports = {
callback(new Error(res.statusCode));
});
}
-}; \ No newline at end of file
+};
diff --git a/lib/videos.js b/lib/videos.js
index eb22c29..48327ac 100644
--- a/lib/videos.js
+++ b/lib/videos.js
@@ -275,4 +275,4 @@ module.exports = {
callback(null, out, true);
});
}
-}; \ No newline at end of file
+};
diff --git a/mongo-edu.js b/mongo-edu.js
index da526bd..e09be1d 100644
--- a/mongo-edu.js
+++ b/mongo-edu.js
@@ -123,4 +123,4 @@ exports.create = function start() {
}
-}; \ No newline at end of file
+};
diff --git a/package.json b/package.json
index c9a8660..98a4255 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "mongo-edu",
"preferGlobal": true,
- "version": "0.1.12",
+ "version": "0.1.13",
"author": "Przemyslaw Pluta <przemyslawplutadev@gmail.com> (http://przemyslawpluta.com)",
"description": "Select and download videos and handouts from university.mongodb.com courses",
"main": "./mongo-edu",
@@ -38,7 +38,7 @@
"cheerio": "~0.15.0",
"inquirer": "~0.4.0",
"progress": "~1.1.3",
- "mkdirp": "~0.3.5",
+ "mkdirp": "~0.4.0",
"optimist": "~0.6.1",
"mv": "~2.0.0",
"unzip": "~0.1.9",