Open ChocoTonic opened 11 months ago
I haven't came across videos with transcripts before so I'm not sure.
I was literally just about to request this and notice this is already requested.
Transcripts are available in txt or vtt format, my preference is to download vtt so I can add it as subtitles when playing the video with VLC media player.
I can provide you with the download URL format, the txt format is similar except "format=txt" at the end.
https://echo360.net.au/api/ui/echoplayer/lessons/[Lesson ID]/medias/[Media ID]/transcript-file?format=vtt
Where "Lesson ID" matches the lesson url for viewing online with the echo player.
https://echo360.net.au/lesson/[Lesson ID]/classroom
And "Media ID" matches the second id when directly downloading video/audio files.
https://content.echo360.net.au/[Institution ID]/[Media ID]/1/hd1.mp4?[long_string_of_query_text]
Also when I tried to run this in debug just before downloading a file it matches the following line:
DEBUG: https://content.echo360.net.au:443 "GET /[Institution ID]/[Media ID]/1/s0q1.m3u8 HTTP/1.1" 200 None
Not sure if this helps? I anonymised all the IDs but if there's an issue let me know and I can share some screenshots or something.
maybe you could open a pr to accomplish that?
Thanks @jandye for the details. Yes, as @ChocoTonic had mentioned, please send a PR.
I would maintain this repo (when able to), but i would not actively work on any new features
is there a way to download transcripts with this?