TheFrenchGhostys-Ultimate-Y.../Windows/Archive Scripts/Channels/Channels.ps1

10 lines
1.3 KiB
PowerShell
Raw Normal View History

2020-02-08 02:25:51 +00:00
#
#
# TheFrenchGhostys YouTube-DL Archivist Scripts: The ultimate collection of scripts for YouTube-DL
# https://gitlab.com/TheFrenchGhosty/TheFrenchGhostys-YouTube-DL-Archivist-Scripts
# https://gitlab.com/TheFrenchGhosty
#
#
2019-11-14 22:16:11 +00:00
2020-02-08 02:25:51 +00:00
youtube-dl --format "(bestvideo[vcodec^=av01][height>=1080][fps>30]/bestvideo[vcodec=vp9.2][height>=1080][fps>30]/bestvideo[vcodec=vp9][height>=1080][fps>30]/bestvideo[vcodec^=av01][height>=1080]/bestvideo[vcodec=vp9.2][height>=1080]/bestvideo[vcodec=vp9][height>=1080]/bestvideo[height>=1080]/bestvideo[vcodec^=av01][height>=720][fps>30]/bestvideo[vcodec=vp9.2][height>=720][fps>30]/bestvideo[vcodec=vp9][height>=720][fps>30]/bestvideo[vcodec^=av01][height>=720]/bestvideo[vcodec=vp9.2][height>=720]/bestvideo[vcodec=vp9][height>=720]/bestvideo[height>=720]/bestvideo)+(bestaudio[acodec=opus]/bestaudio)/best" --verbose --force-ipv4 --ignore-errors --no-continue --no-overwrites --download-archive archive.log --add-metadata --write-description --write-info-json --write-annotations --write-thumbnail --embed-thumbnail --all-subs --sub-format "srt" --embed-subs --output "%%(uploader)s/%%(uploader)s - %%(upload_date)s - %%(title)s/%%(uploader)s - %%(upload_date)s - %%(title)s.%%(ext)s" --merge-output-format "mkv" --datebefore "$($(get-date -Format yyyy)/1 - 1)1231" --batch-file "Source - Channels.txt"