Open TaisZ opened 3 years ago
If you manually go to the https://echo360.org.uk/section/$(UUID)/home
URL (your own chrome/firefox) does it also show 404?
And on top of it, if you type https://echo360.org.uk/media/$(UUID)/public
in the script opened chrome would it display the same interface as a list of videos
I only have access to video links like https://echo360.org/media/0d046a3e-26e1-4dc1-ba3a-63af2d2734fb/public . There is no "course home page" . The instructor only provided a page of links similar to the one above. Can this video be downloaded?
It's likely that the same download procedure should work on those pages, but I don't have any experience nor access to such a page. The current program relies on course home page to retrieve a list of videos, and as such, this program would not work on those links as of yet. Feel free to modify the code and extend to these sort of links though.
I dont know how much you are willing to look into this issue, but it would be really cool if this feature is added. There is no other way to install the files from these links.
PRs are welcome but it is not possible for me to implements this without any access to such a page
thanks @soraxas for your quick response. I am a little confused about do you mean by access though. I can currently click the URL given by vinn and I can watch it. Here is another: https://echo360.net.au/media/9a37184c-03ec-4e8f-9aeb-4883e5d5ff94/public I might consider making a PR for this, but would you mind explaining what type of changes ill need to be making?
I am a little confused about do you mean by access though.
I cannot implement this as I don't have access to such a page to test/debug/etc.
EDIT: I can see that the given link is actually public. It is not currently on my priority to look into this as I have no use of this, but I can have a look at it when I am free.
... would you mind explaining what type of changes ill need to be making?
I am not sure as I don't know how that page source looks like (me knowing the URL doesn't provide much clarity). But I would guess it involves extracting the underlying stream links and passing it to the echo360 video constructor at https://github.com/soraxas/echo360/blob/master/echo360/videos.py for downloads (or skipping that and directly passing the streams to hls downloader at https://github.com/soraxas/echo360/blob/master/echo360/hls_downloader.py)
I tried to download a video whose URL looks like this:https://echo360.org.uk/media/$(UUID)/public. The script opened chrome and received the credentials correctly. Then the script redirects the link to https://echo360.org.uk/section/$(UUID)/home, which implies a 404 page. I am wondering whether the problem can be solved by redirecting the script to the correct URL, or if the player of ”echo360.org.uk/media/$(UUID)/public“ uses a different decoding method. Thanks!