soraxas / echo360

Commandline tool for automated downloads of echo360 videos hosted by university
https://cs.tinyiu.com/echo360
MIT License
281 stars 53 forks source link

Failed to get m3u8 info for EchoCourse! #65

Open Emersont1 opened 2 years ago

Emersont1 commented 2 years ago

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 commented 2 years ago

That error just means there isn't any video series found on the given url. Perhaps your url is linking to an echo360 course?

On 24 May 2022 06:07:56 Peter Taylor @.***> wrote:

Hi, when i try to run the program I get the following exception after logging in (venv) @.*** ~]$ 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 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 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

jsmith3142 commented 2 years ago

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?