Skip to content
forked from rand-net/khan-dl

Python script for downloading khanacademy.org videos and naming them.

Notifications You must be signed in to change notification settings

baas-hans/khan-dl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

khan-dl

A python script to download courses from Khan Academy using youtube-dl and beautifulsoup4.

Installation

git clone https://github.com/rand-net/khan-dl
pip install -r requirements.txt

Usage

$ python khan-dl.py -h

usage: khan-dl.py [-h] [-i] [-c COURSE_URL]

optional arguments:
  -h, --help            show this help message and exit
  -i, --interactive     Enter Interactive Course Selection Mode
  -c COURSE_URL, --course_url COURSE_URL
                        Enter Course URL
  • You can download courses interactively on a prompt, which will list all course domains and their respective courses available with tab completion.
$ python khan-dl.py -i

Course Domain: Math
Selected Course Domain: Math

Downloading Course List...

Course: Linear algebra

Selected Course Domain: Linear algebra

Generating Path Slugs.....

Downloading Videos....

  • Download a specific course.
$ python khan-dl.py -c https://www.khanacademy.org/science/ap-physics-1

About

Python script for downloading khanacademy.org videos and naming them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%