Merge pull request #363 from chalet16/master

Change a number of subtitle sequence to begin with one - closes #362
pull/8/head
Filippo Valsorda 2012-06-26 05:35:37 -07:00
commit 65dc7d0272
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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