Closed AlvinChen2020 closed 4 years ago
Hi, I really don't know what I'm doing, but I was able to fix the issue by editing the file named "downloader.py". It just adds a 20 second pause. Then I maximized the browser window to login that was made small and quickly logged in. I use the --chrome flag. Not sure if that is necessary. Good luck!
I added the following line with no indent to line 6 (inserted between "import re" line and "from .course import EchoCloudCourse" line):
import time
and I inserted the following line on line 181 (preceded by 3 indents) between "if self.setup_credential:" (line 180) and " sys.stdout.write(">> I'm gonna assume you are responsible enough to had "
time.sleep(20)
Hi, I really don't know what I'm doing, but I was able to fix the issue by editing the file named "downloader.py". It just adds a 20 second pause. Then I maximized the browser window to login that was made small and quickly logged in. I use the --chrome flag. Not sure if that is necessary. Good luck!
I added the following line with no indent to line 6 (inserted between "import re" line and "from .course import EchoCloudCourse" line):
import time
and I inserted the following line on line 181 (preceded by 3 indents) between "if self.setup_credential:" (line 180) and " sys.stdout.write(">> I'm gonna assume you are responsible enough to had "
time.sleep(20)
Although the mere suggested modification does not solve the problem, the extended time (I use 40 seconds) does help to find a workaround.
Instead of using SSO login, I actually logged in directly using my echo360 account. Since I never did that from echo306 webpage, I used the same email as with my school's SSO, and retrieved the password by going through "I forget the password" option. After login, I had to change my role from "instructor" to "student". Then the magic happens and the donwloading starts.
Thanks!
Apology for the confusion as it seems like there are issues with the credential being not sufficient for some institutions?
The module works like this:
This works for the most part as this issue is the first time I'm hearing about it. It seems like for you two's case the module thought the login token is set (step 3) while it was still not sufficient to access the course.
I will add in an extra flag --manual
to allow you to manually disable step 3 and provide you have enough time to login (instead of using time.sleep(..)
) and continue the process manually once you are done logging in.
You can now run the module with
python echo360.py <echo360.org-URL> --manual
to disable automatic detection of credentials. One you have logged in, type
continue
in your terminal to continue.
thanks! really appreciate it.
I tried to download videos from Echo360 platform on a PC. First it brings up a browser window but does not allow me to manually enter SSO login webpage. Then I pre-login to my school's SSO website and repeat the procedure. Now it stops at the webpage "https://echo360.org/section/my_course_uuid/syllabus which returns "404 Not Found.
The log from the prompt is shown below.