aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/common.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-06-22 02:32:14 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-06-22 02:44:28 +0530
commit3975b4d2e83a2d425a7b88752cd2d6ec83110f20 (patch)
tree927856c08df17cf9e6f3864b8e7fee5d5357f6fa /yt_dlp/extractor/common.py
parent230d5c8239d6b6e211f413de26979398c1cabb04 (diff)
downloadhypervideo-pre-3975b4d2e83a2d425a7b88752cd2d6ec83110f20.tar.lz
hypervideo-pre-3975b4d2e83a2d425a7b88752cd2d6ec83110f20.tar.xz
hypervideo-pre-3975b4d2e83a2d425a7b88752cd2d6ec83110f20.zip
Allow extractors to specify section_start/end for clips
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r--yt_dlp/extractor/common.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py
index 3e3e55798..90af41575 100644
--- a/yt_dlp/extractor/common.py
+++ b/yt_dlp/extractor/common.py
@@ -385,6 +385,11 @@ class InfoExtractor:
release_year: Year (YYYY) when the album was released.
composer: Composer of the piece
+ The following fields should only be set for clips that should be cut from the original video:
+
+ section_start: Start time of the section in seconds
+ section_end: End time of the section in seconds
+
Unless mentioned otherwise, the fields should be Unicode strings.
Unless mentioned otherwise, None is equivalent to absence of information.