Skip to content

A feature-rich command-line audio/video downloader

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

Philipp Hagemeister2f5865cc6d08
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index b577c9e6dd..69cdcdc1b5 100644
--- a/youtube_dl/extractor/common.py
+++ b/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)