From ced6d417d2015c4fbdafcdd6cf94a5232fe42f76 Mon Sep 17 00:00:00 2001 From: Adrian Calinescu Date: Tue, 15 Oct 2019 13:28:56 +0300 Subject: [PATCH] Added readme entry for list download --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 4005719..937c3e1 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,21 @@ Destreamer takes a [honeybadger](https://www.youtube.com/watch?v=4r7wHMg5Yjg) ap * `npm install` to restore packages * `npm start ` +### To download a list of videos: + +There's no implementation that does that, but you can use this handy workaround - + +Place the video URLs on by line in `list.txt`, then: + +Bash - +```bash +cat list.txt | while read line; do npm start $line; done +``` + +PowerShell - +```powershell +ForEach-Object ($line in Get-Content .\list.txt) { npm start $line } +``` ## EXPECTED OUTPUT