Skip to main content

Download videos from Udemy for personal offline use

Project description

Python script to download a udemy.com course, for personal offline use.

Version

0.2.0

PyPI version

Windows Version

A Windows version without any dependecies is available here

You can get the lastest Windows release from here.

https://github.com/nishad/udemy-dl-windows/releases/latest

Download udemy-dl-win-X.X.X.zip

Prerequisites

  • Python (2 or 3)

  • pip (Python Install Packager)

  • Python module requests

  • If missing, they will be automatically installed by pip

Preinstall

If you don’t have pip installed, look at their install doc. Easy install (if you trust them) is to run their bootstrap installer directly by using:

sudo curl https://bootstrap.pypa.io/get-pip.py | python

Install

udemy-dl can be installed using pip

pip install udemy-dl

or

python -m pip install udemy-dl

Update

udemy-dl can be updated using pip

pip install --upgrade udemy-dl

or

python -m pip install --upgrade udemy-dl

Usage

Simply call udemy-dl with the full URL to the course page.

udemy-dl https://www.udemy.com/COURSE_NAME

or

python -m udemy_dl https://www.udemy.com/COURSE_NAME

udemy-dl will ask for your udemy username (email address) and password then start downloading the videos.

By default, udemy-dl will create a subdirectory based on the course name. If you wish to have the files downloaded to a specific location, use the -o /path/to/directory/ parameter.

If you wish, you can include the username/email and password on the command line using the -u and -p parameters.

udemy-dl -u user@domain.com -p $ecRe7w0rd https://www.udemy.com/COURSE_NAME

If you ``don’t want to download but save links to a file``` for later downloading with a different downloader

python -m udemy_dl -s https://www.udemy.com/COURSE_NAME

For information about all available parameters, use the --help parameter

udemy-dl --help

Advanced Usage

usage: udemy-dl [-h] [-u USERNAME] [-p PASSWORD]
                [--lecture-start LECTURE_START] [--lecture-end LECTURE_END]
                [-o OUTPUT_DIR] [-v]
                link

Fetch all the videos for a udemy course

positional arguments:
  link                  Link for udemy course

optional arguments:
  -h, --help            show this help message and exit
  -u USERNAME, --username USERNAME
                        Username/Email
  -p PASSWORD, --password PASSWORD
                        Password
  --lecture-start LECTURE_START
                        Lecture to start at (default is 1)
  --lecture-end LECTURE_END
                        Lecture to end at (default is last)
  -o OUTPUT_DIR, --output-dir OUTPUT_DIR
                        Output directory
  -s, --save-links      Do not download but save links to a file
  -v, --version         Display the version of udemy-dl and exit

Uninstall

udemy-dl can be uninstalled using pip

sudo pip uninstall udemy-dl

You may uninstall the required requests module too but be aware that those might be required for other Python modules.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

udemy-dl-0.2.0.tar.gz (8.5 kB view details)

Uploaded Source

File details

Details for the file udemy-dl-0.2.0.tar.gz.

File metadata

  • Download URL: udemy-dl-0.2.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for udemy-dl-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7ff7dc93cc98e10ca1b8bfee86bb0f278a4a95e8a8c308a86f7afe7888ca7ae8
MD5 298aad5473b661585abead3a441e6872
BLAKE2b-256 76241e67c8d794f6878398127c1cc96fa5fdc1bc1ca669f37ce309b1e1508f8b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page