mirror of
https://github.com/snobu/destreamer.git
synced 2026-02-09 00:09:44 +00:00
Added readme entry for list download
This commit is contained in:
15
README.md
15
README.md
@@ -36,6 +36,21 @@ Destreamer takes a [honeybadger](https://www.youtube.com/watch?v=4r7wHMg5Yjg) ap
|
|||||||
* `npm install` to restore packages
|
* `npm install` to restore packages
|
||||||
* `npm start <URL of the video>`
|
* `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
|
## EXPECTED OUTPUT
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user