ronandalton / echo360-downloader

A bulk downloader script for Echo360 lecture recordings.
MIT License
9 stars 2 forks source link

[Feature request]: Filenames #2

Open tva19 opened 6 days ago

tva19 commented 6 days ago

Is it possible to use the recording name on Echo to name the files, and use the date/time as a prefix to sort them alphanumerically? Some courses rename the recordings and it would be useful to keep that info.

image

ronandalton commented 6 days ago

Do you mean name the folders? If you download a whole course your output directory will be populated with folders following the pattern Lecture 1, Lecture 2... and so on. If you just download a single lecture you'll just get hd1.mp4 and hd2.mp4 in that folder I believe.

Anyway I think that should be pretty doable. The syllabus.json that is retrieved by the program has that info (you should also be able to find that in devtools on the network tab). lesson.timing.start and lesson.displayName seem to be the fields we want. I have a patch in progress that will add this feature.