Comments (5)
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)
from echo360.
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!
from echo360.
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.
from echo360.
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:
- If it detected the link is a echo360.org link, it will hang in the background within a loop.
- A browser instance will be spawned to allow you to login with your institution's SSO.
- It will keep checking in the background if the login token is set within the browser cookies
- When (3) is met, it will then proceed to retrieve your course's data.
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.
from echo360.
thanks! really appreciate it.
from echo360.
Related Issues (20)
- Unable to download for Canadian Echo360 HOT 2
- --after-date and --before-date don't work HOT 4
- Chrome driver fails to launch Chrome HOT 1
- After downloading the files, they get deleted. Result is empty download folder. HOT 3
- echo360.py cant find the video as there is no home page for it HOT 6
- Failed to get m3u8 info for EchoCourse! HOT 2
- PHANTOMJS removed in selenium v4 HOT 3
- Doesn't work for UNSW HOT 2
- Ways to download single media file HOT 1
- Missing or invalid capabilities in selenium HOT 6
- Outdated chromedriver HOT 4
- how to download public video HOT 1
- SSL Error HOT 2
- chromedriver for M1 mac? HOT 7
- transcript download? HOT 4
- Bump selenium to 4.16.0. HOT 3
- Running pip install echo360 installs a selenium version incompatible with chrome version HOT 1
- Update pypi version
- Use cookies for authentication HOT 1
- Some Error in downloader.py HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from echo360.