fix playlist download x2
This commit is contained in:
parent
bcc1dfffce
commit
27d7ef6d55
1 changed files with 3 additions and 1 deletions
|
|
@ -8,7 +8,9 @@ fi
|
||||||
PLAYLIST_URL=$1
|
PLAYLIST_URL=$1
|
||||||
shift
|
shift
|
||||||
|
|
||||||
VIDEO_URLS=$(yt-dlp --flat-playlist -i --print url "$PLAYLIST_URL")
|
VIDEO_URLS=$(yt-dlp --flat-playlist --print webpage_url "$PLAYLIST_URL")
|
||||||
|
|
||||||
|
echo "$VIDEO_URLS" | wc -l
|
||||||
|
|
||||||
for VIDEO_URL in $VIDEO_URLS; do
|
for VIDEO_URL in $VIDEO_URLS; do
|
||||||
echo "Загружаем видео: $VIDEO_URL"
|
echo "Загружаем видео: $VIDEO_URL"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue