blob: 9953239f0f25182da60a234554e984aef8e0d779 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
#!/bin/sh
if [ $# -ne 1 ]; then
echo "Usage: $0 <playlist_id>"
exit 1
fi
exec youtube-dl -o '%(playlist)s/%(playlist_index)s %(title)s.%(ext)s' "https://www.youtube.com/playlist?list=$1"
|