1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-01-17 05:22:18 +00:00

Added readme entry for list download

This commit is contained in:
Adrian Calinescu
2019-10-15 13:28:56 +03:00
committed by GitHub
parent 0631fef748
commit ced6d417d2

View File

@@ -36,6 +36,21 @@ Destreamer takes a [honeybadger](https://www.youtube.com/watch?v=4r7wHMg5Yjg) ap
* `npm install` to restore packages
* `npm start <URL of the video>`
### 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