Git Product home page Git Product logo

Comments (9)

soraxas avatar soraxas commented on July 17, 2024 1

EchoDownloader starts initialising at

downloader = EchoDownloader(

and within it the webdrive was first set up at
if webdriver_to_use == 'chrome':

from echo360.

soraxas avatar soraxas commented on July 17, 2024

Hi! Your issue is a duplicate of #1. However, with the latest PR #20 this module is now officially support echo360 cloud platform (echo360.org). Feel free to pull the latest master and try it out

from echo360.

Soneji avatar Soneji commented on July 17, 2024

Thank you! This update has got me a lot further
I managed to log in successfully and the script seems to have downloaded these 14 videos but I cant find them anywhere, and it also errors at the end.
However I am still experiencing an issue

./run.sh https://echo360.org.uk/section/571de44e-ecab-4a70-8ea5-e8833577dcee/home
> 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 into echo360 cloud, the window should be automatically redirected and continued. If it got stuck, please contact the author :)
>> I'm gonna assume you are responsible enough to had finished logged in by now ;)
>> Retrieving echo360 Course Info...  0/14 videos No audio+video m3u8 files found! Skipping...
This can either be (i) Credential failure? (ii) Logic error in the script. (iii) This lecture only provides audio?
This script is hard-coded to download audio+video. If this is your intended behaviour, please contact the author.
>> Retrieving echo360 Course Info...  14/14 videos Done!
Traceback (most recent call last):
  File "echo360.py", line 313, in <module>
    main()
  File "echo360.py", line 254, in main
    downloader.download_all()
  File "/Users/dhaval/git-clones/echo360/echo360/downloader.py", line 193, in download_all
    '{0}'.format(self._course.nice_name).strip())
  File "/Users/dhaval/git-clones/echo360/echo360/course.py", line 171, in nice_name
    return self.course_name
  File "/Users/dhaval/git-clones/echo360/echo360/course.py", line 165, in course_name
    candidate = self.course_data['data'][0]['lesson']['video']['published']['courseName']
KeyError: 'video'

from echo360.

soraxas avatar soraxas commented on July 17, 2024

Would you be able to run it with the debug flag --debug and send me the result log file (under the same folder with a name like echo360Downloader.log) through mail? It would be helpful for me to debug it thanks!

from echo360.

Soneji avatar Soneji commented on July 17, 2024

echo360Downloader.log
here is log file

from echo360.

soraxas avatar soraxas commented on July 17, 2024

Hi @overclockedllama thanks for your prompt response:)

The lastest commit should be able to successfully download your course.

from echo360.

Soneji avatar Soneji commented on July 17, 2024

Thank you so much! It works.
I was wondering whether it is possible to have a headless setup for this app, perhaps for a server deployment? Should I open another issue? I am happy to try add the headless support myself as I am a little familiar with python

from echo360.

soraxas avatar soraxas commented on July 17, 2024

Awesome glad it helped! :)

Yeah that sounds great, it would be amazing if you can look into it. And yep a separate issue would be more appropriate

from echo360.

Soneji avatar Soneji commented on July 17, 2024

Could you direct me to which part of the code starts the chromedriver session?

from echo360.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.