improve docs of annex.youtube-dl-options
authorJoey Hess <joeyh@joeyh.name>
Wed, 27 Aug 2025 13:42:32 +0000 (09:42 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 27 Aug 2025 13:42:32 +0000 (09:42 -0400)
The options are used whenever yt-dlp is run, not only when finding the
url to download.

doc/git-annex.mdwn

index db8a88fa3bc1d1e6ac9d52ceb32dd31fcdf22b21..6b668f69b50f48efd9bb06f433d0c68ca20b9ced 100644 (file)
@@ -2110,8 +2110,8 @@ Remotes are configured using these settings in `.git/config`.
 
 * `annex.youtube-dl-options`
 
-  Options to pass to yt-dlp when using it to find the url to download
-  for a video.
+  Options to pass to yt-dlp. For example if youtube is requiring cookies
+  to download from it, use something like "--cookies-from-browser firefox"
 
   Some options may break git-annex's integration with yt-dlp. For
   example, the --output option could cause it to store files somewhere