coursera-dl | Script for downloading Coursera.org videos

 by   coursera-dl Python Version: 0.11.5 License: LGPL-3.0

kandi X-RAY | coursera-dl Summary

kandi X-RAY | coursera-dl Summary

coursera-dl is a Python library typically used in Institutions, Learning, Education applications. coursera-dl has no bugs, it has no vulnerabilities, it has build file available, it has a Weak Copyleft License and it has medium support. You can install using 'pip install coursera-dl' or download it from GitHub, PyPI.

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

            kandi-support Support

              coursera-dl has a medium active ecosystem.
              It has 9057 star(s) with 2165 fork(s). There are 330 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 174 open issues and 460 have been closed. On average issues are closed in 141 days. There are 27 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of coursera-dl is 0.11.5

            kandi-Quality Quality

              coursera-dl has 0 bugs and 0 code smells.

            kandi-Security Security

              coursera-dl has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              coursera-dl code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              coursera-dl is licensed under the LGPL-3.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              coursera-dl releases are not available. You will need to build from source code and install.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              coursera-dl saves you 17985 person hours of effort in developing the same functionality from scratch.
              It has 35614 lines of code, 331 functions and 44 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed coursera-dl and discovered the below as its top functions. This is intended to give you an instant insight into coursera-dl implemented functionality, and help decide if they suit your requirements.
            • 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
            Get all kandi verified functions for this library.

            coursera-dl Key Features

            No Key Features are available at this moment for coursera-dl.

            coursera-dl Examples and Code Snippets

            No Code Snippets are available at this moment for coursera-dl.

            Community Discussions

            QUESTION

            Coursera-dl not downloading classes command prompt Windows
            Asked 2021-Aug-03 at 23:19

            I have been trying to install some lectures from coursera using the coursera-dl command, installed via :

            ...

            ANSWER

            Answered 2021-Aug-03 at 23:19

            this 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

            Source https://stackoverflow.com/questions/68614376

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install coursera-dl

            coursera-dl requires Python 2 or Python 3 and a free Coursera account enrolled in the class of interest. (As of February of 2020, we test automatically the execution of the program with Python versions 2.7, Pypy, 3.6, 3.7, 3.8, and 3.9). Note: We strongly recommend that you use a Python 3 interpreter (3.9 or later). On any operating system, ensure that the Python executable location is added to your PATH environment variable and, once you have the dependencies installed (see next section), for a basic usage, you will need to invoke the script from the main directory of the project and prepend it with the word python. You can also use more advanced features of the program by looking at the "Running the script" section of this document. Note: You must already have (manually) agreed to the Honor of Code of the particular courses that you want to use with 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

            If you have problems when downloading class materials, please try to see if one of the following actions solve your problem:.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install coursera-dl

          • CLONE
          • HTTPS

            https://github.com/coursera-dl/coursera-dl.git

          • CLI

            gh repo clone coursera-dl/coursera-dl

          • sshUrl

            git@github.com:coursera-dl/coursera-dl.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link