generate_srt_captions is not working
Closed this issue · 2 comments
BinSlayer01 commented
I'm using your pytubefix and testing the captions with this youtube video: https://www.youtube.com/watch?v=AbyJignbSj0&ab_channel=ParamountPictures
I'm doing this print(caption.generate_srt_captions())
and it's not printing anything. xml_captions works but not generate_srt_captions Any idea what I could be doing wrong please?
full code:
from pytubefix import YouTube
yt = YouTube("https://www.youtube.com/watch?v=AbyJignbSj0")
yt.bypass_age_gate()
caption = yt.captions['en-US']
print(caption.generate_srt_captions())
BinSlayer01 commented
issue has been resolved, thank you very much
JuanBindez commented
Version with the fix released -> https://pypi.org/project/pytubefix/1.8.3/