youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 65dc7d027278d93b4a760dcbf6d19067fb8ff85d
parent 7df97fb59f7994c32ecf552ee9dfec6c6be3bb1e
Author: Filippo Valsorda <filippo.valsorda@gmail.com>
Date:   Tue, 26 Jun 2012 05:35:37 -0700

Merge pull request #363 from chalet16/master

Change a number of subtitle sequence to begin with one - closes #362
Diffstat:
Myoutube_dl/InfoExtractors.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py @@ -182,7 +182,7 @@ class YoutubeIE(InfoExtractor): end = "%02i:%02i:%02i,%03i" %(end/(60*60), end/60%60, end%60, end%1*1000) caption = unescapeHTML(caption) caption = unescapeHTML(caption) # double cycle, intentional - srt += str(n) + '\n' + srt += str(n+1) + '\n' srt += start + ' --> ' + end + '\n' srt += caption + '\n\n' return srt