youtube-rss: make number of playlist items an argument
This commit is contained in:
parent
3de291e23c
commit
f8fe778dc5
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
playlistURL="$1"
|
||||
noItems="20"
|
||||
noItems="$2"
|
||||
|
||||
playlistJSON=`youtube-dl "$playlistURL" --flat-playlist -J --playlist-end "$noItems"`
|
||||
uploader=`echo "$playlistJSON" | jq -r '.uploader'`
|
||||
|
|
Loading…
Reference in New Issue
Block a user