aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/common.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-07-20 21:10:28 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-07-20 21:10:28 +0200
commit7c80519cbf7e3daa029239fbbd147652817877f8 (patch)
treeaa36444b1cfe823c50a6be61fec732a68c50a80b /youtube_dl/extractor/common.py
parent2fe1ff85829244f6498dde8c85ecdc1415f5ad7a (diff)
downloadyoutube-dl-7c80519cbf7e3daa029239fbbd147652817877f8.tar.xz
[youtube] Extract start_time
From the 't=*' in the url. Currently youtube-dl doesn't use the value, but it was requested for the mpv plugin.
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r--youtube_dl/extractor/common.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index b9014fc23..9e8751877 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -183,6 +183,8 @@ class InfoExtractor(object):
["Sports", "Berlin"]
is_live: True, False, or None (=unknown). Whether this video is a
live stream that goes on instead of a fixed-length video.
+ start_time: Time in seconds where the reproduction should start, as
+ specified in the url.
Unless mentioned otherwise, the fields should be Unicode strings.