Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transcript download? #77

Open
ChocoTonic opened this issue Dec 7, 2023 · 4 comments
Open

transcript download? #77

ChocoTonic opened this issue Dec 7, 2023 · 4 comments

Comments

@ChocoTonic
Copy link

is there a way to download transcripts with this?

@soraxas
Copy link
Owner

soraxas commented Mar 8, 2024

I haven't came across videos with transcripts before so I'm not sure.

@jandye
Copy link

jandye commented Apr 1, 2024

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.

@ChocoTonic
Copy link
Author

maybe you could open a pr to accomplish that?

@soraxas
Copy link
Owner

soraxas commented Apr 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants