diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2016-01-01 13:28:45 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2016-01-01 13:28:45 +0100 |
commit | 32f9036447d1211f9ce0750203d71671f0ee99dc (patch) | |
tree | 14b5c9387edc94a06dc7954f51ed309c5be89cb0 /youtube_dl/extractor/common.py | |
parent | 190ef0798103908d986e07f54323299084726d42 (diff) |
[ccc] Add language information to formats
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r-- | youtube_dl/extractor/common.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 655207447..2823b1d18 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -108,8 +108,9 @@ class InfoExtractor(object): -2 or smaller for less than default. < -1000 to hide the format (if there is another one which is strictly better) - * language_preference Is this in the correct requested - language? + * language Language code, e.g. "de" or "en-US". + * language_preference Is this in the language mentioned in + the URL? 10 if it's what the URL is about, -1 for default (don't know), -10 otherwise, other values reserved for now. |