about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-05-14 07:38:40 +0700
committerSergey M․ <dstftw@gmail.com>2017-05-14 07:38:40 +0700
commit6f3c632c24c6f5d1d653273c48e9a612bb04a873 (patch)
tree7417c30d36dbfed6072888d39a5fd5b13117ea9a /README.md
parent09b866e171a6cef8578a2a37f5bd766ae6bfbf50 (diff)
downloadyoutube-dl-6f3c632c24c6f5d1d653273c48e9a612bb04a873.tar.gz
youtube-dl-6f3c632c24c6f5d1d653273c48e9a612bb04a873.tar.xz
youtube-dl-6f3c632c24c6f5d1d653273c48e9a612bb04a873.zip
release 2017.05.14 2017.05.14
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 8 insertions, 6 deletions
diff --git a/README.md b/README.md
index 1ecd2005a..dc0be1f40 100644
--- a/README.md
+++ b/README.md
@@ -400,12 +400,14 @@ Alternatively, refer to the [developer instructions](#developer-instructions) fo
     --add-metadata                   Write metadata to the video file
     --metadata-from-title FORMAT     Parse additional metadata like song title /
                                      artist from the video title. The format
-                                     syntax is the same as --output, the parsed
-                                     parameters replace existing values.
-                                     Additional templates: %(album)s,
-                                     %(artist)s. Example: --metadata-from-title
-                                     "%(artist)s - %(title)s" matches a title
-                                     like "Coldplay - Paradise"
+                                     syntax is the same as --output. Regular
+                                     expression with named capture groups may
+                                     also be used. The parsed parameters replace
+                                     existing values. Example: --metadata-from-
+                                     title "%(artist)s - %(title)s" matches a
+                                     title like "Coldplay - Paradise". Example
+                                     (regex): --metadata-from-title
+                                     "(?P<artist>.+?) - (?P<title>.+)"
     --xattrs                         Write metadata to the video file's xattrs
                                      (using dublin core and xdg standards)
     --fixup POLICY                   Automatically correct known faults of the