From e01f3758f85e0dc0c81e3388103a84483548a228 Mon Sep 17 00:00:00 2001 From: Florrie Date: Fri, 3 Jul 2020 21:30:13 -0300 Subject: make crawl-local accept some common video formats --- crawlers.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crawlers.js b/crawlers.js index 1cbb036..e39dfa1 100644 --- a/crawlers.js +++ b/crawlers.js @@ -237,7 +237,8 @@ function getHTMLLinks(text) { function crawlLocal(dirPath, extensions = [ 'ogg', 'oga', - 'wav', 'mp3', 'mp4', 'm4a', 'aac', 'flac', 'opus', + 'wav', 'mp3', 'm4a', 'aac', 'flac', 'opus', + 'mp4', 'mov', 'mkv', 'mod' ], isTop = true) { // If the passed path is a file:// URL, try to decode it: -- cgit 1.3.0-6-gf8a5