Skip to content

Commit

Permalink
Update youtube-dl, yt-dlp configurations
Browse files Browse the repository at this point in the history
youtube-dl configurations are untested on account of an outstanding
issue (ytdl-org/youtube-dl#31530), so uhhhhhh
yeah
  • Loading branch information
Chloe-H committed Dec 12, 2024
1 parent 8ee9986 commit 1e87e62
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
7 changes: 5 additions & 2 deletions youtube-dl/.config/youtube-dl/config
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# Lines starting with # are comments

# Cookies file, for age-restricted videos
--cookies G:\Win10\Desktop\youtube-cookies.txt

# Output filename template
--output /mnt/g/Cloud\ Storage/Google\ Drive/Backlog/Videos/Rip/%(title)s.%(ext)s
--output "G:\Cloud Storage\Google Drive\Backlog\Videos\Rip%(title)s.%(ext)s"

# Download only videos not listed in the archive file
# Record the IDs of all downloaded videos in it
--download-archive /mnt/g/Cloud\ Storage/Google\ Drive/Backlog/Videos/Rip/downloaded.txt
--download-archive "G:\Cloud Storage\Google Drive\Backlog\Videos\Rip\downloaded.txt"

# Select the best quality format represented by a single file with video and audio
--format best
Expand Down
10 changes: 7 additions & 3 deletions yt-dlp/.config/yt-dlp/config
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# Lines starting with # are comments

# Use Firefox cookies for age-restricted videos
--cookies-from-browser "firefox::Primary Google"

# The path(s) where the files should be downloaded
--paths /mnt/g/Cloud\ Storage/Google\ Drive/Backlog/Videos/Rip
--paths "G:\Cloud Storage\Google Drive\Backlog\Videos\Rip"

# Download only videos not listed in the archive file
# Record the IDs of all downloaded videos in it
--download-archive /mnt/g/Cloud\ Storage/Google\ Drive/Backlog/Videos/Rip/downloaded.txt
--download-archive "G:\Cloud Storage\Google Drive\Backlog\Videos\Rip\downloaded.txt"

# Force filenames to be Windows-compatible
--windows-filenames
Expand All @@ -24,9 +27,10 @@

# Write subtitle file
--write-subs
--sub-langs all

# Embed metadata in the video file
# Also embeds chapters/info.json if present, unelss otherwise specified
# Also embeds chapters/info.json if present, unless otherwise specified
--embed-metadata

# Do not overwrite any files
Expand Down

0 comments on commit 1e87e62

Please sign in to comment.