summaryrefslogtreecommitdiff
path: root/lib/courseware.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/courseware.js')
-rw-r--r--lib/courseware.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/courseware.js b/lib/courseware.js
index 1a8c0fb..82a1e1b 100644
--- a/lib/courseware.js
+++ b/lib/courseware.js
@@ -26,7 +26,7 @@ function saveData(argv, details, data, callback) {
fs.writeFile(argv.d + details[0] + '-' + details[1] + '.txt', data.join((!isWin) ? '\n' : '\r\n'), function write(err) {
if (err !== null) { return console.log(err.stack); }
- console.log('[' + '>'.magenta + '] Video list generated with ' + data.length + ' item' + ((data.length > 1)? 's.' : '.'));
+ console.log('>'.magenta + ' Video list generated with ' + data.length + ' item' + ((data.length > 1)? 's.' : '.'));
inquirer.prompt({type: 'confirm', name: 'download', message: 'Select and download?'}, function prompt(answers) {
if (answers.download) { return callback(null, data); }
@@ -120,7 +120,7 @@ module.exports = {
if (!opt.url.stack) { return callback(null, []); }
- var bar = new ProgressBar('[' + '>'.magenta + '] Searching Courseware [:bar] :percent', { complete: '=', incomplete: ' ', width: 20, total: opt.url.stack.length }),
+ var bar = new ProgressBar('>'.magenta + ' Searching Courseware [:bar] :percent', { complete: '=', incomplete: ' ', width: 20, total: opt.url.stack.length }),
getPage = getDetails(jar, opt.url.stack.length, bar, opt.url.master, argv, callback), i;
for (i = 0; i < opt.url.stack.length; i++) {