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

Fail to download echo360.org/media/$(UUID)/public. #43

Open
TaisZ opened this issue Aug 1, 2021 · 7 comments
Open

Fail to download echo360.org/media/$(UUID)/public. #43

TaisZ opened this issue Aug 1, 2021 · 7 comments

Comments

@TaisZ
Copy link

TaisZ commented Aug 1, 2021

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!

@soraxas
Copy link
Owner

soraxas commented Aug 1, 2021

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

@vinn
Copy link

vinn commented Sep 1, 2021

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?

@soraxas
Copy link
Owner

soraxas commented Sep 3, 2021

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.

@Peedee2002
Copy link

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.

@soraxas
Copy link
Owner

soraxas commented Mar 1, 2022

PRs are welcome but it is not possible for me to implements this without any access to such a page

@Peedee2002
Copy link

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?

@soraxas
Copy link
Owner

soraxas commented Mar 1, 2022

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)

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

4 participants