Comments (3)
Hi Mark thank you for reporting the issue.
This might be related to #32, which is currently staled without responses.
There are a few things that came into my mind. First thing is that it might be due to the credentials had not been set when accessing the page. Can you try to run it again with the --manual
flag to ensure you had been properly logged in before continuing the script, i.e.,
python3 echo360.py https://echo360.org.uk/section/82a37ff6-132c-4300-91dd-48eb0a18214d/home --debug --firefox --manual
(type continue in the terminal after logging in within the browser)
Secondly, if the above didn't affect the final result, it is strange that accessing https://echo360.org.uk/section/XXXX/syllabus
returns 404 even though the login is successful. It might be due to some browser compatibility? If you have chrome installed as well you can try to see if that make any differences. Finally, I'm not sure if it is due to the user agent string set within the script that causes the 404 results. Is that any way that you can successfully access the syllabus within the controlled browser, as opposed to the existing browser?
from echo360.
Thanks, with manual it works!
I realize I was not clear. Without manual, I get the 404 error because I am not presented with a login prompt. Echo.org.uk redirects the login from login.echo.uk to pingone once you give your username. In the manual mode that works ok, but without manual, it fails.
from echo360.
Thanks @vrossum for reporting back, and I'm glad that it works!
The automatic redirection works by checking for the existence of some special cookies set by the SSO. Perhaps the detection mechanism is not sophisticated enough and had performed a redirection before a successful login. I will make the manual
mode default to avoid similar confusion.
from echo360.
Related Issues (20)
- Automated Windows downloading fails HOT 3
- Work around for authentication issue HOT 1
- ffmpeg not found error HOT 3
- lecture name [[UNTITLED]], content with in its folder keeps cleaned and overrided by newer downloaded video HOT 7
- 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
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.