From: Jaime Marquínez Ferrándiz Date: Thu, 23 Jul 2015 11:21:18 +0000 (+0200) Subject: [youtube] Also look into the 'start' field for start_time X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=2929fa0e79dfd3a1366e7e23eb4344bc93dd3a10;p=youtube-dl.git [youtube] Also look into the 'start' field for start_time --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 117ef2e77..462d244d8 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -900,6 +900,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor): query = compat_parse_qs(component) if start_time is None and 't' in query: start_time = parse_duration(query['t'][0]) + if start_time is None and 'start' in query: + start_time = parse_duration(query['start'][0]) if end_time is None and 'end' in query: end_time = parse_duration(query['end'][0])