From: Philipp Hagemeister Date: Fri, 4 Oct 2013 09:09:43 +0000 (+0200) Subject: Clarify that url and ext are optional when formats is given (#980) X-Git-Tag: 2021.01.07~13095 X-Git-Url: https://jfr.im/git/yt-dlp.git/commitdiff_plain/2f5865cc6d08d3c1d49f3182335a4ae10cbd788a Clarify that url and ext are optional when formats is given (#980) --- diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index b577c9e6d..69cdcdc1b 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)