Giter VIP home page Giter VIP logo

coursera_resources_downloader's People

Contributors

dekz avatar fvieira avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

coursera_resources_downloader's Issues

Broken list-courses command

Since the JSON data where the script get's the info from the courses changed format, the command is broken.

Course title location changed

Old XPath for course_title_element no longer matches. New XPath is course_title_element = tree.xpath('//div[@class="course-logo-name"]/text()').
The error message for not course_title_element is strange. 'Failed to get the course title at {0}' might be better.

Failure in getting course title

For the past week or so, the program fails with the following message:

Trying to open lecture index page for the vision course
Done

ERROR: Failed to get the course title at https://class.coursera.org/vision/lecture/index
Please make sure that you are enrolled in the vision course and that it has already started.

Something has changed in all the coursera web pages and now the following line does not give back the expected result:
course_title_element = tree.xpath('//div[@Class="course-logo-name"]/nobr/text()')

Wrong assumption on resources

I'm assuming there are always 4 resources per lecture and that they're order is pdf, pptx, subs and video.
The algo course has two cases where this is wrong, in one the subtitles are missing and in the other there are two pdfs and no subtitles.
I should be looking at the url to decide what the resources are and name them accordingly.

Using session cookie is bothersome

It would be better to be able to pass the user and password to the script and have it handling the authentication, at least these wouldn't change each time you log out and are more user friendly than having to somehow get the cookie from the browser.

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.