diff options
author | Florrie <towerofnix@gmail.com> | 2020-07-03 21:30:13 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2020-07-03 21:30:13 -0300 |
commit | e01f3758f85e0dc0c81e3388103a84483548a228 (patch) | |
tree | cebf6a41964c60b1f86b8a4b8abcadecc9388a10 | |
parent | 3d73a0da45cc8e13b5ac0f58f57683ab2d772838 (diff) |
make crawl-local accept some common video formats
-rw-r--r-- | crawlers.js | 3 |
1 files changed, 2 insertions, 1 deletions
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: |