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

Failed to get m3u8 info for EchoCourse! #65

Open
Emersont1 opened this issue May 23, 2022 · 2 comments
Open

Failed to get m3u8 info for EchoCourse! #65

Emersont1 opened this issue May 23, 2022 · 2 comments

Comments

@Emersont1
Copy link

Hi, when i try to run the program I get the following exception after logging in

(venv) [et1@sidrat ~]$ echo360-downloader https://echo360.org.uk/lesson/710163d8-d080-4976-b34a-9c7ead081a4e
> Echo360 Cloud platform detected
> This implies setup_credential, and using web_driver
>> Please login with your SSO details and type continue when logged in.
-----------------------------------------------------------------
 >> After you finished logging in, type 'continue' in the terminal.
> Type 'continue' and press [enter]
continue
>> I'm gonna assume you are responsible enough to had finished logged in by now ;)
>> Retrieving echo360 Course Info... Traceback (most recent call last):
  File "/home/et1/Code/venv/bin/echo360-downloader", line 8, in <module>
    sys.exit(main())
  File "/home/et1/Code/venv/lib64/python3.10/site-packages/echo360/main.py", line 365, in main
    downloader.download_all()
  File "/home/et1/Code/venv/lib64/python3.10/site-packages/echo360/downloader.py", line 202, in download_all
    videos = self._course.get_videos().videos
  File "/home/et1/Code/venv/lib64/python3.10/site-packages/echo360/course.py", line 139, in get_videos
    course_data_json = self._get_course_data()
  File "/home/et1/Code/venv/lib64/python3.10/site-packages/echo360/course.py", line 211, in _get_course_data
    raise Exception("Error: Failed to get m3u8 info for EchoCourse!")
Exception: Error: Failed to get m3u8 info for EchoCourse!

This occurs with all the following URLs (I'm not sure if they're malformed, but they're straight from the moode)

https://echo360.org.uk/section/4ff0f3af-7539-48d0-bfc1-b791241cd703/home
https://echo360.org.uk/section/4ff0f3af-7539-48d0-bfc1-b791241cd703
https://echo360.org.uk/media/db8bba19-34b2-447c-9e50-29afd0b6de48/public

any help would be greatly appreciated

@soraxas
Copy link
Owner

soraxas commented May 23, 2022 via email

@jsmith3142
Copy link

I am having a similar issue to this when attempting to download individual videos from individual URLs. These URLs come in the following form similar to the final link indicated by @Emersont1
https://echo360.net.**/media/************************************/public

These are individual videos which can be accessed without login and do not relate to a specific course as is the case for other Echo360 links. Is there any way to download an individual Echo360 video in this form using this program?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants