]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[extractor/common] Clarify duration can be float
authorSergey M․ <dstftw@gmail.com>
Thu, 3 Dec 2015 14:55:02 +0000 (20:55 +0600)
committerSergey M․ <dstftw@gmail.com>
Thu, 3 Dec 2015 14:55:02 +0000 (20:55 +0600)
youtube_dl/extractor/common.py

index eb9bfa3d15a2c5084fbf67f05a401474ad2f881d..6ab2d68d6f3137ff7a9b4b201102959a7e732e9a 100644 (file)
@@ -167,7 +167,7 @@ class InfoExtractor(object):
                     "ext" will be calculated from URL if missing
     automatic_captions: Like 'subtitles', used by the YoutubeIE for
                     automatically generated captions
-    duration:       Length of the video in seconds, as an integer.
+    duration:       Length of the video in seconds, as an integer or float.
     view_count:     How many users have watched the video on the platform.
     like_count:     Number of positive ratings of the video
     dislike_count:  Number of negative ratings of the video