initial commit

This commit is contained in:
Leonetienne 2022-01-25 22:59:20 +01:00
commit c710e4b892
4 changed files with 26 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
/music/
/videos/
/linklist-*.txt
/alreadydownloaded-*.txt

11
download-mp3.sh Normal file
View File

@ -0,0 +1,11 @@
yt-dlp \
-a linklist-music.txt \
-c \
--extract-audio \
--audio-format mp3 \
--merge-output-format mkv \
-o 'music/%(uploader)s/%(title)s.%(ext)s' \
--extractor-args youtube:player_client=android \
--throttled-rate 100M \
--restrict-filenames \
--download-archive alreadydownloaded-music.txt

9
download-videos.sh Normal file
View File

@ -0,0 +1,9 @@
yt-dlp \
-a linklist-videos.txt \
-c \
--merge-output-format mkv \
-o 'videos/%(uploader)s/%(title)s.%(ext)s' \
--extractor-args youtube:player_client=android \
--throttled-rate 100M \
--restrict-filenames \
--download-archive alreadydownloaded-video.txt

2
download.sh Normal file
View File

@ -0,0 +1,2 @@
./download-videos.sh
./download-mp3.sh