aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-12-03 20:55:02 +0600
committerSergey M․ <dstftw@gmail.com>2015-12-03 20:55:02 +0600
commit62d231c00493c329a78a30b15a336f131fc392f9 (patch)
treeeb17083bcac0399a4c6b00b225f36e6f7089280e /youtube_dl
parent49358274d7145788f2e99471dbb7c7c4301a3d3d (diff)
downloadyoutube-dl-62d231c00493c329a78a30b15a336f131fc392f9.tar.xz
[extractor/common] Clarify duration can be float
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index eb9bfa3d1..6ab2d68d6 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -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