浏览代码

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

Philipp Hagemeister 12 年之前
父节点
当前提交
2f5865cc6d
共有 1 个文件被更改,包括 2 次插入0 次删除
  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.
     ext:            Video filename extension.
 
+    Instead of url and ext, formats can also specified.
+
     The following fields are optional:
 
     format:         The video format, defaults to ext (used for --get-format)