dobomode / coursera-scraper Goto Github PK
View Code? Open in Web Editor NEWA lightweight Node.js app to fetch assets / videos for Coursera courses.
License: MIT License
A lightweight Node.js app to fetch assets / videos for Coursera courses.
License: MIT License
@dobomode It is such a nice to see this happen. Outstanding!
I propose to add the following:
coursera-dl.conf
)Cheers, and stay safe,
/z
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
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!
Only video download. I need document and pdf as well that not download
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.
seems unable to get assets such as pdf/txt/subtitle, while actually there are at least subtitles
course:https://www.coursera.org/learn/foundations-user-experience-design
my coursera-scraper is the latest version, and mac os monterey 12.6.5, node v20.1.0
Thanks for the tool , if it would be options to add subtitles would be great
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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.