Thanks to visit codestin.com
Credit goes to github.com

Skip to content

FLZ101/dl_coursera

Repository files navigation

Todo

  • Lectures (videos, subtitles, slides)
  • Reading materials
  • Jupyter notebooks
  • Quizs

Install

Python ⩾3.8 is required.

Install the dl_coursera package in a virtual environment.

$ pip install -U dl_coursera
$ dl_coursera --version

Alternatively, you can download dl_coursera as a single executable from https://github.com/FLZ101/dl_coursera/releases/. Note:

  • This may not work if your OS is outdated
  • On Windows, SmartScreen may prevent execution of the executable

How-to

  1. Get the cookies file

    Sign into Coursera, then use a browser extension to export cookies as a cookies file which will expire in about two weeks.

    For Chrome/Edge/Firefox, you can use the Cookie-Editor extension.

  2. Enroll

    Navigate to homepage of the specialization/course you'd like to download, you can see its slug at the address bar. Enroll in.

  3. Download

    To download a specialization:

    dl_coursera --spec --cookies path_of_the_cookies_file --outdir output_directory slug
    

    To download a course:

    dl_coursera --cookies path_of_the_cookies_file --outdir output_directory slug
    

Troubleshooting

  1. Check your network

  2. Make sure you have enrolled in the specialization/course

  3. If the cookies file might have expired, try getting a new one

  4. Try upgrading to the latest version

  5. Remove the directory <output-directory>/<slug>/.cache and try again

  6. Visit the issues page. You may find a solution if others has encountered similar issues.

    Or you could create a new issue describing what is going wrong and the steps to reproduce it. Don't forget to attach the file <output-directory>/<slug>/.cache/main.log if it exists.

About

A simple, fast and reliable Coursera crawling & downloading tool

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published