Giter VIP home page Giter VIP logo

coursera-scraper's People

Contributors

dobomode avatar loociprian avatar makafonov avatar rozha avatar steve-morales avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

coursera-scraper's Issues

Thanks for creating this and four proposals.

@dobomode It is such a nice to see this happen. Outstanding!

I propose to add the following:

  1. Ability of download lecture notes, transcripts of the video in the specified languages and
  2. Ability to download the courses in batch mode with a list of courses
  3. Ability to read the login info and CAUTH from a config file (similar to coursera-dl.conf)
  4. Ability to specify the user's requirements in the config file as above in 3.

Cheers, and stay safe,
/z

Connection timeout

Hi,

i'm trying to utilize your script to download resources from a course that my company paid for me but i'm always getting connection timeout even if I disconnect and reconnect again to update the cauth.
Is it because of the captcha? the script doesn't work anymore?

thank you

TypeError: Readable.from is not a function Unable to download video.

Hello!
I'm trying to use your tool on a Mac 10.15.7

My npm version is
↪ npm --version
(node:2042) ExperimentalWarning: The fs.promises API is experimental
7.18.1

This is what I get

                
   ___   ___    ___   _ __    __ _   _ __     ___   _ __ 
  / __| / __|  / __| | '__|  / _` | | '_ \   / _ \ | '__|
 | (__  \__ \ | (__  | |    | (_| | | |_) | |  __/ | |   
  \___| |___/  \___| |_|     \__,_| | .__/   \___| |_|   
                                    |_|                  

? Enter CAUTH value from Coursera cookie: (s2HJgNnFoZbUinsQ6syADRlHnixHsrrcBllcMRkHOqpCABBs8CAb9xOnnNSsn9pNIwRoBXzr1sdwAvV55zPHvg.pOJSOu7Yk0z1ie8DecSgMg.Pnm_-nj2sCCpXqnI_xCoWE
? Enter CAUTH value from Coursera cookie: s2HJgNnFoZbUinsQ6syADRlHnixHsrrcBllcMRkHOqpCABBs8CAb9xOnnNSsn9pNIwRoBXzr1sdwAvV55zPHvg.pOJSOu7Yk0z1ie8DecSgMg.Pnm_-nj2sCCpXqnI_xCoWEG
s5uxmNajNUwA2bZq1CxVRPfjq_djCG6lZuDj-qh1ZI9gihp7DhLU-QSzf89hP7B9akZsTtwPxI3ImnQJQQNojNRSUJLG69FhFnZ70YCfYxQ4Wsto5hlkzWEVQv4ehzp7pXmI4z1FG3UCBiSFUm2LEC7V02QOBo0iY1Bql-WqoiJjYN4
R0_8uf5WZHC5UHVfr3CPp8ZNKKG2u5F9XrDxQaDeU1hRmafnuAJi30C-Gdwf8mpebAADi6fEW1CmLgxPwuLoLe5RTg_pxLAKYfGepeLeM43P4v1q55qvVcn8c176KSgiJWOFnJZ2oLv0-gT6KrFi9WPs7239O4MK3lMPXh66PX19MNV
KVDga1dXSuMUiPuqCYRDj-ZTggTHQMwtabjE0RwhiFe-vyiklGwAZssD27soSbGLOBfB6HmwFHn
? Enter course ID (e.g. 'neural-networks-deep-learning'): foundations-user-experience-design

Course 'foundations-user-experience-design'

  Week #01

    Module #01 - Welcome to the Google UX Design Certificate
      Video #01 - Downloading 720p lecture video
TypeError: Readable.from is not a function
Unable to download video.

(node:2000) ExperimentalWarning: Readable[Symbol.asyncIterator] is an experimental feature. This feature could change at any time

Thanks for your help!

[SOLVED] BUG: coursera-scraper fails to download when title includes colon ':'

First, thanks a lot for the good tool.

One bug I found in Windows, using latest verison of Node is that if the title of a module contains a colon, the tool will fail when trying to create the corresponding directory.

    Module #02 - Episode 2: Meeting the CFO (Day 3)
      Video #01 - Downloading 720p lecture video
Error: ENOENT: no such file or directory, mkdir 'C:\Users\REDACTED\Documents\Coursera\leadership-21st-century\Week 02\02 - Episode 2: Meeting the CFO (Day 3)'
Unable to download video.

Course used for the example is: leadership-21st-century

Possible solution would be to replace forbidden filename characters when creating files and directories.

Script fails to download all weeks except week1

Hi,

Tried but the script fails to download all weeks:

$ node index.js

   ___   ___    ___   _ __    __ _   _ __     ___   _ __
  / __| / __|  / __| | '__|  / _` | | '_ \   / _ \ | '__|
 | (__  \__ \ | (__  | |    | (_| | | |_) | |  __/ | |
  \___| |___/  \___| |_|     \__,_| | .__/   \___| |_|
                                    |_|

? Enter CAUTH value from Coursera cookie: <VALID COOKIE>
? Enter course ID (e.g. 'neural-networks-deep-learning'): research-inquiry-discovery

Course 'research-inquiry-discovery'

  Week #01

    Module #01 - Welcome to the Course!
      Video #01 - Downloading 720p lecture video
      Video #01 - Saved '01 - Lecture video (720p).mp4'

    Module #02 - Course Syllabus
      Module does not have any downloadable assets.
      Module does not have any downloadable videos.

    Module #03 - Elements of Critical Thinking: An Overview - A Resource We Will Refer to in This Class
      Module does not have any downloadable assets.
      Module does not have any downloadable videos.

    Module #04 - Study Tips for this Course
      Module does not have any downloadable assets.
      Module does not have any downloadable videos.

    Module #05 - Connecting UNT, Applied Arts and Sciences, and This Course
      Module does not have any downloadable assets.
      Module does not have any downloadable videos.

    Module #06 - Introduce Yourself
      Module does not have any downloadable videos.
      Module does not have any downloadable assets.

    Module #07 - Week 1 Overview
      Module does not have any downloadable assets.
      Module does not have any downloadable videos.

    Module #08 - Introduction to the Inquiry Process
      Video #01 - Downloading 720p lecture video
      Video #01 - Saved '01 - Lecture video (720p).mp4'

    Module #09 - What is Curiosity?
      Video #01 - Downloading 720p lecture video
      Asset #02 - Downloading The Benefits of Being Curious by Maria Ellora Cabbat
Error: Request failed with status code 404
Unable to download asset.

      Video #01 - Saved '01 - Lecture video (720p).mp4'

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.