You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wouldn't say it's critical for me, but there are definitely some users who are concerned about their privacy, so they don't use YouTube at all. Instead, they use third-party frontends like invidious and piped. The main problem is that there are many instances of such frontends, anyone can create them. so you will have to give the possibility to add your own links or somehow detect that the current site is an instance of the frontend.
I don't think it would be hard to do that for invidiuos, cause it gives you the option to download subtitles for the video, but as usual for auto subtitles there are duplicate lines there.
I've been doing a little more research on the subject, especially invidious, and I found out a few things.
Subtitles are easily downloaded via api. First we get the subtitle title via https://{instance-link}/api/v1/captions/{video-id} and then the subtitles themselves in vtt format https://{instance-link}/api/v1/captions/{video-id}?label={label}
Subtitles are already fixed and do not have repeated lines.
I wouldn't say it's critical for me, but there are definitely some users who are concerned about their privacy, so they don't use YouTube at all. Instead, they use third-party frontends like invidious and piped. The main problem is that there are many instances of such frontends, anyone can create them. so you will have to give the possibility to add your own links or somehow detect that the current site is an instance of the frontend.
Invidious
Docs — https://docs.invidious.io/
Instances — https://api.invidious.io/
I don't think it would be hard to do that for invidiuos, cause it gives you the option to download subtitles for the video, but as usual for auto subtitles there are duplicate lines there.
![image](https://private-user-images.githubusercontent.com/76692731/329567091-b5a7d35f-8c90-4853-aadc-df99b2815ef2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA4MDg5MjcsIm5iZiI6MTcyMDgwODYyNywicGF0aCI6Ii83NjY5MjczMS8zMjk1NjcwOTEtYjVhN2QzNWYtOGM5MC00ODUzLWFhZGMtZGY5OWIyODE1ZWYyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEyVDE4MjM0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg4NzJhNTc2NTlkMzJiZWQzMWUwYjg3ZTE2Y2M1NDNhNDJiZTA3YWU0OTE0YjU3MDQxNDY1YmJiMDYwYTAxNjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.9hwmNoYXEtVKQIK_FPggtjCx05hdrM9hUyGdRnSOuFs)
Piped
Docs — https://docs.piped.video/docs/
Instances — https://github.com/TeamPiped/Piped/wiki/Instances
Piped doesn't give a direct way to download subtitles, but no one prevents you from extracting them from the same invidious. Issue about downloading
The text was updated successfully, but these errors were encountered: