Browse Source

Clarify that url and ext are optional when formats is given (#980)

Philipp Hagemeister 12 years ago
parent
commit
2f5865cc6d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      youtube_dl/extractor/common.py

+ 2 - 0
youtube_dl/extractor/common.py

@@ -35,6 +35,8 @@ class InfoExtractor(object):
     title:          Video title, unescaped.
     title:          Video title, unescaped.
     ext:            Video filename extension.
     ext:            Video filename extension.
 
 
+    Instead of url and ext, formats can also specified.
+
     The following fields are optional:
     The following fields are optional:
 
 
     format:         The video format, defaults to ext (used for --get-format)
     format:         The video format, defaults to ext (used for --get-format)