projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deefc05
)
Clarify that url and ext are optional when formats is given (#980)
author
Philipp Hagemeister
<phihag@phihag.de>
Fri, 4 Oct 2013 09:09:43 +0000
(11:09 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Fri, 4 Oct 2013 09:09:43 +0000
(11:09 +0200)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index b577c9e6ddb2af52bf0169bd4ca5f78653652a0b..69cdcdc1b5b75d1cac5733b34565f087c9dcddec 100644
(file)
--- 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)