]> jfr.im git - yt-dlp.git/blobdiff - README.md
Field `additional_urls` to download additional videos from metadata
[yt-dlp.git] / README.md
index e1022da37fa5a59de4841f757f366c4b4009b9a3..d3856dc9fa371277faec9b71c57add9fa2deca31 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1279,7 +1279,9 @@ # MODIFYING METADATA
 
 Note that any field created by this can be used in the [output template](#output-template) and will also affect the media file's metadata added when using `--add-metadata`.
 
-You can also use this to change only the metadata that is embedded in the media file. To do this, set the value of the corresponding field with a `meta_` prefix. For example, any value you set to `meta_description` field will be added to the `description` field in the file. You can use this to set a different "description" and "synopsis", for example.
+This option also has a few special uses:
+1. You can use this to change the metadata that is embedded in the media file. To do this, set the value of the corresponding field with a `meta_` prefix. For example, any value you set to `meta_description` field will be added to the `description` field in the file. You can use this to set a different "description" and "synopsis", for example
+2. You can download an additional URL based on the metadata of the currently downloaded video. To do this, set the field `additional_urls` to the URL that you want to download. Eg: `--parse-metadata "description:(?P<additional_urls>https?://www\.vimeo\.com/\d+)` will download the first vimeo video found in the description
 
 ## Modifying metadata examples