diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-01-06 17:15:27 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-01-06 17:15:27 +0100 |
commit | 5d73273f6f458970b34b3c6f4c8bd18fbad9c1ca (patch) | |
tree | 7f5f874d0dff478e4f8f1d1e43448f9e03add4e4 /youtube_dl/extractor/common.py | |
parent | c11a0611d909a4c7dce7bdda1d146517de8d55b2 (diff) |
[orf] Use new extraction method (Fixes #2057)
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r-- | youtube_dl/extractor/common.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index f498bcf6f..2a5e8076c 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -73,6 +73,10 @@ class InfoExtractor(object): by this field. -1 for default (order by other properties), -2 or smaller for less than default. + * quality Order number of the video quality of this + format, irrespective of the file format. + -1 for default (order by other properties), + -2 or smaller for less than default. url: Final video URL. ext: Video filename extension. format: The video format, defaults to ext (used for --get-format) @@ -483,6 +487,7 @@ class InfoExtractor(object): return ( preference, + f.get('quality') if f.get('quality') is not None else -1, f.get('height') if f.get('height') is not None else -1, f.get('width') if f.get('width') is not None else -1, ext_preference, |