Prechádzať zdrojové kódy

[extractor/common] Document all protocol values

Philipp Hagemeister 10 rokov pred
rodič
commit
b04b885271
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      youtube_dl/extractor/common.py

+ 2 - 1
youtube_dl/extractor/common.py

@@ -89,7 +89,8 @@ class InfoExtractor(object):
                     * player_url SWF Player URL (used for rtmpdump).
                     * player_url SWF Player URL (used for rtmpdump).
                     * protocol   The protocol that will be used for the actual
                     * protocol   The protocol that will be used for the actual
                                  download, lower-case.
                                  download, lower-case.
-                                 "http", "https", "rtsp", "rtmp", "m3u8" or so.
+                                 "http", "https", "rtsp", "rtmp", "rtmpe",
+                                 "m3u8", or "m3u8_native".
                     * preference Order number of this format. If this field is
                     * preference Order number of this format. If this field is
                                  present and not None, the formats get sorted
                                  present and not None, the formats get sorted
                                  by this field, regardless of all other values.
                                  by this field, regardless of all other values.