Selaa lähdekoodia

[extractor/common] Introduce filesize metafield for thumbnails

Sergey M․ 9 vuotta sitten
vanhempi
sitoutus
2de624fdd5
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      youtube_dl/extractor/common.py

+ 1 - 0
youtube_dl/extractor/common.py

@@ -161,6 +161,7 @@ class InfoExtractor(object):
                         * "height" (optional, int)
                         * "resolution" (optional, string "{width}x{height"},
                                         deprecated)
+                        * "filesize" (optional, int)
     thumbnail:      Full URL to a video thumbnail image.
     description:    Full video description.
     uploader:       Full name of the video uploader.