summaryrefslogtreecommitdiff
path: root/lib/videos.js
diff options
context:
space:
mode:
authorprzemyslawpluta <przemekpluta@hotmail.com>2014-09-27 16:00:04 +0100
committerprzemyslawpluta <przemekpluta@hotmail.com>2014-09-27 16:00:04 +0100
commit8c67cd34fbc3501c9bd6b197b1e8b6ecf5c14d61 (patch)
tree87f17c519943c3a3ccb0cf19bff21a31b681ca2d /lib/videos.js
parent3933a61a27a8d19272322d8f18b8111d70740993 (diff)
downloadmongo-edu-8c67cd34fbc3501c9bd6b197b1e8b6ecf5c14d61.zip
update
add proxy test cleanup version bump
Diffstat (limited to 'lib/videos.js')
-rw-r--r--lib/videos.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/videos.js b/lib/videos.js
index a71d4e3..bf8973e 100644
--- a/lib/videos.js
+++ b/lib/videos.js
@@ -325,5 +325,13 @@ module.exports = {
});
+ },
+
+ checkProxyDownload: function checkProxyDownload(argv) {
+ setOptions(argv);
+ var video = 'https://youtu.be/nm20j_x9Ol8', opt = { all: undefined, cancel: undefined };
+ if (typeof argv.test === 'string') { video = argv.test; }
+ opt[video] = 0;
+ handleList([video], opt);
}
};