2
0
Эх сурвалжийг харах

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

Philipp Hagemeister 12 жил өмнө
parent
commit
2f5865cc6d

+ 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)