SuspiciousLookingOwl/youtubei

Captions text seems to include timestamps.

Closed this issue · 1 comments

altr commented

Describe the bug
Captions text seems to include timestamps.
Tested with this video: https://www.youtube.com/watch?v=FJOXDCzlGv0

Text that is retrieved
'I0 wish1600 to4000'
'thank0 the10000 Prime12010 Minister14410'
etc..

To Reproduce

const youtube = new Client();
const video = await youtube.getVideo("FJOXDCzlGv0");
const captions = await video?.captions.get('en');

Steps to reproduce the behavior:

Expected behavior
No timestamps in the text.

Screenshots
captions object in VSCode
Screenshot from 2024-06-27 15-13-06

Actual text
Screenshot from 2024-06-27 15-10-52

Additional context
Add any other context about the problem here.

Fix published on 1.5.3 👍🏻