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

Option to download without logging in to echo360.org #53

Open
soumdtt opened this issue Dec 8, 2021 · 10 comments
Open

Option to download without logging in to echo360.org #53

soumdtt opened this issue Dec 8, 2021 · 10 comments

Comments

@soumdtt
Copy link

soumdtt commented Dec 8, 2021

Hi, is it possible to download echo360.org without logging into the usual log-in interface (eg. for publicly hosted videos)? As an example, is it possible to parse(and download) videos from this portal (https://echo360.org/section/af040c4a-11d1-4bf5-856a-97485e0be2ed/home)? These videos do not need credential to log-in to echo360 cloud. Thanks for any help.

@soumdtt soumdtt changed the title Option to download without logging in too echo360.org Option to download without logging in to echo360.org Dec 8, 2021
@soumdtt
Copy link
Author

soumdtt commented Dec 8, 2021

@soraxas
Copy link
Owner

soraxas commented Dec 8, 2021

I don't think those are public links as both links request login details when I clicked on them

@soumdtt
Copy link
Author

soumdtt commented Dec 13, 2021

Hello, you are right! My, bad! Here are the public links: https://echo360.org/section/63154e84-3722-4d7a-a851-8248f569281c/public

@soraxas
Copy link
Owner

soraxas commented Dec 13, 2021

Can you clarify whether these videos works with the current repo? Or do you just want to avoid the extra login step?

@soraxas
Copy link
Owner

soraxas commented Dec 16, 2021

@soumdtt Is that some sort of one-off link or a link that embeds a token? It no longer works for me

@soumdtt
Copy link
Author

soumdtt commented Dec 18, 2021

@soraxas I’m not sure about your last comment. It is still working for me, though. Even if I copy and paste in a different computer, it works. Also, I will soon try out the link with the existing repo and report back ASAP as you suggested.

@ghost
Copy link

ghost commented Apr 9, 2022

I also ran into this issue while trying to download publicly available videos (no echo360 account required) from URL https://echo360.org.uk/section/038aed3c-7365-479c-80ce-87a4fd2a37a6/public

I don't have an echo360 account, so I cannot perform a login in the Chrome selenium window, thus I cannot progress further with downloading the videos.

@mkildemaa
Copy link

Same here. I have a public link that does not require a login so I would wish to skip the login process with the script. Also this is quite time sensitive because I finished the course that I wish to download and I don't know how long this link will stay valid until videos are removed.

@soraxas
Copy link
Owner

soraxas commented Jan 26, 2023

The issue is not on not being able to skip the login process. If the course requires no login but has the same webpage structure as others, it would still work.

The problem is that (some of?) these login-less page has a different webpage structure. This program send a request to retrieve a json from the echo360 course, in order to retrieve the list of videos. See:

return "{}/ess/client/api/sections/{}/section-data.json?pageSize=100".format(
self._hostname, self._uuid
)

The json endpoint does not seems to exists for these sort of page

@mkildemaa
Copy link

The issue is not on not being able to skip the login process. If the course requires no login but has the same webpage structure as others, it would still work.

The problem is that (some of?) these login-less page has a different webpage structure. This program send a request to retrieve a json from the echo360 course, in order to retrieve the list of videos. See:

return "{}/ess/client/api/sections/{}/section-data.json?pageSize=100".format(
self._hostname, self._uuid
)

The json endpoint does not seems to exists for these sort of page

Ok thanks for the info. I already got them downloaded with geckoDM Chrome extension.

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