Closed ghost closed 2 years ago
Perhaps related to #45 but I'm not too sure.
Unfortunately it isn't. There isn't a section on my echo360 home page that has the course for one its only accessable via moodle and it provides me with a lecturecast link that I quoted above. In order to access the other videos I would have to manually go to moodle again and click on those videos and open them (as they are embedded videos) so they will redirect me to this link. I hope this makes sense. Is there anything I can provide you so that you or anyone can help me because I believe this to be within the realm / scope of this project however I do agree it is a niche case. There are downloader extensions on my browser that do allow me to download both audio and video streams which I can combine using ffmpeg manually but I would rather be able to do it from the command line using this utility you have created
raise Exception("Error: Failed to get m3u8 info for EchoCourse!") Exception: Error: Failed to get m3u8 info for EchoCourse!
This is the error I get at the end. And the browser says 404 not found.
Just to clarify once again when you click on this link you will get redirected to a player that plays only one video. There is no other links just that video and maybe a transcript on the right hand side. Afaik there is no other things available on the screen just the video itself no link to other videos or anything like that
What about https://chrome.google.com/webstore/detail/hls-downloader/hkbifmjmkohpemgdkknlbgmnpocooogp?hl=en For me it worked for a video shared by a lecturer (for a previous year's video) as it had no section and was in the form https://echo360.net.au/media/xxxxxxxxxx/public
Closing this issue. And would like if you would put this somewhere in the FAQ to help anyone who has problems in the future. When downloading videos if there are any problems. The user can then use CTRL+SHIFT+I (on firefox) and click on network and analyse the requests. You will see many requests however 2 of them would be repeated you can click to see which one is which. One will be a video and one will be an audio stream. Don't worry if the times is not the right time because it wont show it. Now in the terminal use a program called youtube-dl or yt-dlp to download this stream like youtube-dl "url" and do it for both audio and video files. Then use ffmpeg to combine these two streams together (you can do that by ffmpeg -i video.mkv -i audio.flac -c copy lecture.mkv for example). This method is essentially what this project does. So if the program does not work use this method and free yourself from the shackles of drm
What I mean is normally in the echo360 home page you select the section and copy the url and it will just work and you can select the lectures you want to download and everything is fine. However for one module there isn't a section on the echo360 home page for it instead how I access it was that I went through moodle and clicked on the video and it directed me to an https://echo360.org.xx/ui/player/xxxxxxxx?secureLinkAccessDataId=xxxxxxx&autoplay=false&automute-false link. Now if I were to pass this link to the echo360.py the browser cant find the home page for it because there isn't any. I am just wondering if anyone knows how to overcome this and maybe modify the code to download such individual cases like this one. Kind regards,