Replies: 1 comment
-
YouTube.js already extracts the captions information, it has supported captions for much longer than transcripts. They also have two different use-cases, which is why YouTube has them separately and YouTube.js supports both. Showing captions on a video where you might want styling or a transcript where you want pure text. Also there is a reason YouTube calls it a base URL, because you can add a bunch more query parameters to it, YouTube mainly uses it to add tracking parameters but there are two useful ones:
So if you want a WebVTT file just add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I saw that you added the ability to download transcripts via GUI. That can work, but incase the transcripts GUI doesn't work, there will likely still be the XML file hidden somewhere that you can grab. Might be more efficient:
(My special fork; I wanted to keep some HTML markup. WebVTT output would be easy to add.
https://github.com/tomByrer/youtube-captions-scraper/blob/master/src/index.js
Beta Was this translation helpful? Give feedback.
All reactions