Bladeren bron

Document that format_id field should be present

Philipp Hagemeister 11 jaren geleden
bovenliggende
commit
5d4f3985be
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      youtube_dl/extractor/common.py

+ 2 - 1
youtube_dl/extractor/common.py

@@ -51,7 +51,8 @@ class InfoExtractor(object):
                                  Calculated from the format_id, width, height.
                                  and format_note fields if missing.
                     * format_id  A short description of the format
-                                 ("mp4_h264_opus" or "19")
+                                 ("mp4_h264_opus" or "19").
+                                Technically optional, but strongly recommended.
                     * format_note Additional info about the format
                                  ("3D" or "DASH video")
                     * width      Width of the video, if known