coursera-dl | Script for downloading Coursera.org videos
kandi X-RAY | coursera-dl Summary
kandi X-RAY | coursera-dl Summary
Coursera is arguably the leader in massive open online courses (MOOC) with a selection of more than 300 classes from 62 different institutions as of February 2013. Generous contributions by educators and institutions are making excellent education available to many who could not afford it otherwise. There are even non-profits with "feet on the ground" in remote areas of the world who are helping spread the wealth (see the feedback below from Tunapanda). This script makes it easier to batch download lecture resources (e.g., videos, ppt, etc) for Coursera classes. Given one or more class names and account credentials, it obtains week and class names from the lectures page, and then downloads the related materials into appropriately named files and directories.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Parse command line arguments
- Check if the class name argument is required
- Get username and password
- Try to authenticate using a netrc file
- Start download
- Read bytes
- Return the progress bar
- Report progress
- List all courses
- Return a session
- Authenticate to coursera
- Login to coursera org
- Return a random string
- Prepare authentication headers
- Get cookies for a given class
- Create a new directory
- Return a RequestsCookieJar for the given class
- Download on - demand class
- Returns True if this is a debug run
- Generate the README rst file
- Get the text and url from the session
- Check if the debug run is enabled
- Returns a requests session
- Release the project
- Print the SSL error message
- Expand a list of specializations into a single list
- Download a file from a URL
- Read file
- Create a directory
- Wrapper for download
coursera-dl Key Features
coursera-dl Examples and Code Snippets
Community Discussions
Trending Discussions on coursera-dl
QUESTION
I have been trying to install some lectures from coursera using the coursera-dl command, installed via :
...ANSWER
Answered 2021-Aug-03 at 23:19this works: Make sure to install Coursera Authentication helper for Firefox and add this to your CAUTH (I noticed this sequence changes everyday and has to be updated in the coursera-dl.conf), login Coursera and you should be ready to download all the classes you wish! Make sure to go to the classe's link when part of a specialisation.
If you need more help, you can read my journey below:
EDIT
This has worked for many classes so far and I am not getting any errors. Using Anaconda 3 command promt. Here is what I did:
In environment variables, I added new paths, stated from this post https://stackoverflow.com/a/54897379/16367595
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install coursera-dl
From a command line (preferably, from a virtual environment), simply issue the command:. This will download the latest released version of the program from the Python Package Index (PyPI) along with all the necessary dependencies. At this point, you should be ready to start using it.
We strongly recommend that you install coursera-dl and all its dependencies in a way that does not interfere with the rest of your Python installation. This is accomplished by the creation of a virtual environment, or "virtualenv".
Coursera-dl supports external downloaders but note that they are only used to download materials after the syllabus has been parsed, e.g. videos, PDFs, some handouts and additional files (syllabus is always downloaded using the internal downloader). If you experience problems with downloading such materials, you may want to start using external downloader and configure its timeout values. For example, you can use aria2c downloader by passing --aria option:.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page