diff options
author | Filippo Valsorda <filippo.valsorda@gmail.com> | 2012-06-26 05:35:37 -0700 |
---|---|---|
committer | Filippo Valsorda <filippo.valsorda@gmail.com> | 2012-06-26 05:35:37 -0700 |
commit | 65dc7d027278d93b4a760dcbf6d19067fb8ff85d (patch) | |
tree | e4bf87a3af5bd7b89b0f45f2959a889a8bbce415 /youtube_dl | |
parent | 7df97fb59f7994c32ecf552ee9dfec6c6be3bb1e (diff) | |
parent | 54041793389bc72def59a625dc59a4672cdb4825 (diff) |
Merge pull request #363 from chalet16/master
Change a number of subtitle sequence to begin with one - closes #362
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/InfoExtractors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index d02bd29f7..0b5d76bdb 100644 --- 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 |